Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #19 from andrey-helldar/analysis-z4oK5E
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Andrey Helldar authored Jan 29, 2018
2 parents d9ed4ab + 22289dc commit eec3f34
Show file tree
Hide file tree
Showing 127 changed files with 159 additions and 159 deletions.
2 changes: 1 addition & 1 deletion src/Controllers/Account/BanUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class BanUserController extends Controller
*
* @var array
*/
protected $parameters = array('user_id');
protected $parameters = ['user_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/ChangePasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class ChangePasswordController extends Controller
*
* @var array
*/
protected $parameters = array('restore_sid', 'change_password_hash', 'old_password', 'new_password');
protected $parameters = ['restore_sid', 'change_password_hash', 'old_password', 'new_password'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/GetActiveOffersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ class GetActiveOffersController extends Controller
*
* @var array
*/
protected $parameters = array('offset', 'count');
protected $parameters = ['offset', 'count'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/GetAppPermissionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetAppPermissionsController extends Controller
*
* @var array
*/
protected $parameters = array('user_id');
protected $parameters = ['user_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/GetBannedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetBannedController extends Controller
*
* @var array
*/
protected $parameters = array('offset', 'count');
protected $parameters = ['offset', 'count'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/GetCountersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetCountersController extends Controller
*
* @var array
*/
protected $parameters = array('filter');
protected $parameters = ['filter'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/GetInfoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetInfoController extends Controller
*
* @var array
*/
protected $parameters = array('fields');
protected $parameters = ['fields'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/GetPushSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetPushSettingsController extends Controller
*
* @var array
*/
protected $parameters = array('device_id');
protected $parameters = ['device_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/LookupContactsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ class LookupContactsController extends Controller
*
* @var array
*/
protected $parameters = array('contacts', 'service', 'mycontact', 'return_all', 'fields');
protected $parameters = ['contacts', 'service', 'mycontact', 'return_all', 'fields'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/RegisterDeviceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class RegisterDeviceController extends Controller
*
* @var array
*/
protected $parameters = array('token', 'device_model', 'device_year', 'device_id', 'system_version', 'settings', 'sandbox');
protected $parameters = ['token', 'device_model', 'device_year', 'device_id', 'system_version', 'settings', 'sandbox'];
}
4 changes: 2 additions & 2 deletions src/Controllers/Account/SaveProfileInfoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SaveProfileInfoController extends Controller
*
* @var array
*/
protected $parameters = array(
protected $parameters = [
'first_name',
'last_name',
'maiden_name',
Expand All @@ -31,5 +31,5 @@ class SaveProfileInfoController extends Controller
'country_id',
'city_id',
'status',
);
];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/SetInfoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class SetInfoController extends Controller
*
* @var array
*/
protected $parameters = array('name', 'value', 'intro', 'own_posts_default', 'no_wall_replies');
protected $parameters = ['name', 'value', 'intro', 'own_posts_default', 'no_wall_replies'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/SetNameInMenuController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class SetNameInMenuController extends Controller
*
* @var array
*/
protected $parameters = array('user_id', 'name');
protected $parameters = ['user_id', 'name'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/SetOnlineController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class SetOnlineController extends Controller
*
* @var array
*/
protected $parameters = array('voip');
protected $parameters = ['voip'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/SetPushSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class SetPushSettingsController extends Controller
*
* @var array
*/
protected $parameters = array('device_id', 'settings', 'key', 'value');
protected $parameters = ['device_id', 'settings', 'key', 'value'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/SetSilenceModeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class SetSilenceModeController extends Controller
*
* @var array
*/
protected $parameters = array('device_id', 'time', 'peer_id', 'sound');
protected $parameters = ['device_id', 'time', 'peer_id', 'sound'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/UnbanUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class UnbanUserController extends Controller
*
* @var array
*/
protected $parameters = array('user_id');
protected $parameters = ['user_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Account/UnregisterDeviceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class UnregisterDeviceController extends Controller
*
* @var array
*/
protected $parameters = array('device_id', 'sandbox');
protected $parameters = ['device_id', 'sandbox'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/AddOfficeUsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class AddOfficeUsersController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'data');
protected $parameters = ['account_id', 'data'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/CheckLinkController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class CheckLinkController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'link_type', 'link_url', 'campaign_id');
protected $parameters = ['account_id', 'link_type', 'link_url', 'campaign_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/CreateAdsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class CreateAdsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'data');
protected $parameters = ['account_id', 'data'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/CreateCampaignsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class CreateCampaignsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'data');
protected $parameters = ['account_id', 'data'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/CreateClientsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ class CreateClientsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'data');
protected $parameters = ['account_id', 'data'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/CreateTargetGroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ class CreateTargetGroupController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'name', 'lifetime');
protected $parameters = ['account_id', 'client_id', 'name', 'lifetime'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/DeleteAdsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class DeleteAdsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ids');
protected $parameters = ['account_id', 'ids'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/DeleteCampaignsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class DeleteCampaignsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ids');
protected $parameters = ['account_id', 'ids'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/DeleteClientsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ class DeleteClientsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ids');
protected $parameters = ['account_id', 'ids'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/DeleteTargetGroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class DeleteTargetGroupController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'target_group_id');
protected $parameters = ['account_id', 'client_id', 'target_group_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetAccountsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetAccountsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'account_type', 'account_status', 'access_role');
protected $parameters = ['account_id', 'account_type', 'account_status', 'access_role'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetAdsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetAdsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'include_deleted', 'campaign_ids', 'ad_ids', 'limit', 'offset');
protected $parameters = ['account_id', 'client_id', 'include_deleted', 'campaign_ids', 'ad_ids', 'limit', 'offset'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetAdsLayoutController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetAdsLayoutController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'include_deleted', 'campaign_ids', 'ad_ids', 'limit', 'offset');
protected $parameters = ['account_id', 'client_id', 'include_deleted', 'campaign_ids', 'ad_ids', 'limit', 'offset'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetAdsTargetingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetAdsTargetingController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'include_deleted', 'campaign_ids', 'ad_ids', 'limit', 'offset');
protected $parameters = ['account_id', 'client_id', 'include_deleted', 'campaign_ids', 'ad_ids', 'limit', 'offset'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetBudgetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetBudgetController extends Controller
*
* @var array
*/
protected $parameters = array('account_id');
protected $parameters = ['account_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetCampaignsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetCampaignsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'include_deleted', 'campaign_ids');
protected $parameters = ['account_id', 'client_id', 'include_deleted', 'campaign_ids'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetCategoriesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetCategoriesController extends Controller
*
* @var array
*/
protected $parameters = array('lang');
protected $parameters = ['lang'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetClientsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class GetClientsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id');
protected $parameters = ['account_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetDemographicsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetDemographicsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ids_type', 'ids', 'period', 'date_from', 'date_to');
protected $parameters = ['account_id', 'ids_type', 'ids', 'period', 'date_from', 'date_to'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetFloodStatsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class GetFloodStatsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id');
protected $parameters = ['account_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetOfficeUsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetOfficeUsersController extends Controller
*
* @var array
*/
protected $parameters = array('account_id');
protected $parameters = ['account_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetPostsReachController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ class GetPostsReachController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ids_type', 'ids');
protected $parameters = ['account_id', 'ids_type', 'ids'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetRejectionReasonController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetRejectionReasonController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ad_id');
protected $parameters = ['account_id', 'ad_id'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetStatisticsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetStatisticsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ids_type', 'ids', 'period', 'date_from', 'date_to');
protected $parameters = ['account_id', 'ids_type', 'ids', 'period', 'date_from', 'date_to'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetSuggestionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetSuggestionsController extends Controller
*
* @var array
*/
protected $parameters = array('section', 'q', 'country', 'cities', 'lang');
protected $parameters = ['section', 'q', 'country', 'cities', 'lang'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetTargetGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetTargetGroupsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'extended');
protected $parameters = ['account_id', 'client_id', 'extended'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetTargetingStatsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetTargetingStatsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'criteria', 'ad_id', 'ad_format', 'ad_platform', 'link_url', 'link_domain');
protected $parameters = ['account_id', 'criteria', 'ad_id', 'ad_format', 'ad_platform', 'link_url', 'link_domain'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/GetUploadURLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ class GetUploadURLController extends Controller
*
* @var array
*/
protected $parameters = array('ad_format');
protected $parameters = ['ad_format'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/ImportTargetContactsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class ImportTargetContactsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'target_group_id', 'contacts');
protected $parameters = ['account_id', 'client_id', 'target_group_id', 'contacts'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/RemoveOfficeUsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class RemoveOfficeUsersController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'ids');
protected $parameters = ['account_id', 'ids'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/UpdateAdsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class UpdateAdsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'data');
protected $parameters = ['account_id', 'data'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/UpdateCampaignsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class UpdateCampaignsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'data');
protected $parameters = ['account_id', 'data'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/UpdateClientsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ class UpdateClientsController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'data');
protected $parameters = ['account_id', 'data'];
}
2 changes: 1 addition & 1 deletion src/Controllers/Ads/UpdateTargetGroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class UpdateTargetGroupController extends Controller
*
* @var array
*/
protected $parameters = array('account_id', 'client_id', 'target_group_id', 'name', 'domain', 'lifetime');
protected $parameters = ['account_id', 'client_id', 'target_group_id', 'name', 'domain', 'lifetime'];
}
4 changes: 2 additions & 2 deletions src/Controllers/Apps/GetCatalogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class GetCatalogController extends Controller
*
* @var array
*/
protected $parameters = array(
protected $parameters = [
'sort',
'offset',
'count',
Expand All @@ -29,5 +29,5 @@ class GetCatalogController extends Controller
'q',
'genre_id',
'filter',
);
];
}
2 changes: 1 addition & 1 deletion src/Controllers/Apps/GetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class GetController extends Controller
*
* @var array
*/
protected $parameters = array('app_id', 'app_ids', 'platform', 'extended', 'return_friends', 'fields', 'name_case');
protected $parameters = ['app_id', 'app_ids', 'platform', 'extended', 'return_friends', 'fields', 'name_case'];
}
Loading

0 comments on commit eec3f34

Please sign in to comment.