Fix php56 builds on travis

This commit is contained in:
Lorenzo Milesi
2018-07-17 14:47:49 +02:00
parent 7a571f4800
commit 1d7de616df
2 changed files with 4 additions and 2 deletions

View File

@ -230,7 +230,7 @@ class SettingsController extends Controller
* @throws \Throwable
* @throws \yii\db\StaleObjectException
*/
protected function disconnectSocialNetwork($id): void
protected function disconnectSocialNetwork($id)
{
/** @var SocialNetworkAccount $account */
$account = $this->socialNetworkAccountQuery->whereId($id)->one();