@@ -13,12 +13,12 @@ |
||
| 13 | 13 | cs\plugins\Tags\Tags as Tags_trait, |
| 14 | 14 | cs\Singleton; |
| 15 | 15 | /** |
| 16 | - * Tags trait |
|
| 17 | - * |
|
| 18 | - * Provides methods for working with tags for faster development |
|
| 19 | - * |
|
| 20 | - * @method static $this instance($check = false) |
|
| 21 | - */ |
|
| 16 | + * Tags trait |
|
| 17 | + * |
|
| 18 | + * Provides methods for working with tags for faster development |
|
| 19 | + * |
|
| 20 | + * @method static $this instance($check = false) |
|
| 21 | + */ |
|
| 22 | 22 | class Tags { |
| 23 | 23 | use |
| 24 | 24 | Tags_trait, |
@@ -18,8 +18,8 @@ |
||
| 18 | 18 | ->header('cache-control', 'no-store') |
| 19 | 19 | ->header('pragma', 'no-cache'); |
| 20 | 20 | /** |
| 21 | - * Errors processing |
|
| 22 | - */ |
|
| 21 | + * Errors processing |
|
| 22 | + */ |
|
| 23 | 23 | if (!isset($_POST['grant_type'])) { |
| 24 | 24 | $e = new ExitException( |
| 25 | 25 | [ |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | React\EventLoop\Factory as Loop_factory, |
| 14 | 14 | cs\Config; |
| 15 | 15 | /** |
| 16 | - * @return bool |
|
| 17 | - */ |
|
| 16 | + * @return bool |
|
| 17 | + */ |
|
| 18 | 18 | function is_server_running () { |
| 19 | 19 | $connected = false; |
| 20 | 20 | $servers = Pool::instance()->get_all(); |
@@ -9,6 +9,6 @@ |
||
| 9 | 9 | use |
| 10 | 10 | cs\Page; |
| 11 | 11 | /** |
| 12 | - * Remove automatically added module name from title |
|
| 13 | - */ |
|
| 12 | + * Remove automatically added module name from title |
|
| 13 | + */ |
|
| 14 | 14 | array_pop(Page::instance()->Title); |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | return strtolower($provider); |
| 30 | 30 | } |
| 31 | 31 | }; |
| 32 | - $providers = []; |
|
| 32 | + $providers = []; |
|
| 33 | 33 | foreach ($Config->module('HybridAuth')->providers as $provider => $provider_settings) { |
| 34 | 34 | if ($provider_settings['enabled']) { |
| 35 | 35 | $providers[$provider] = [ |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | 'group' => 'text', |
| 25 | 25 | 'label' => 'text' |
| 26 | 26 | ]; |
| 27 | - protected $table = '[prefix]permissions'; |
|
| 27 | + protected $table = '[prefix]permissions'; |
|
| 28 | 28 | /** |
| 29 | 29 | * Array of all permissions for quick selecting |
| 30 | 30 | * @var array |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | use |
| 26 | 26 | CRUD, |
| 27 | 27 | Singleton; |
| 28 | - protected $data_model = [ |
|
| 28 | + protected $data_model = [ |
|
| 29 | 29 | 'id' => 'int:0', |
| 30 | 30 | 'user' => 'int:0', |
| 31 | 31 | 'date' => 'int:0', |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | use |
| 26 | 26 | CRUD, |
| 27 | 27 | Singleton; |
| 28 | - protected $data_model = [ |
|
| 28 | + protected $data_model = [ |
|
| 29 | 29 | 'id' => 'int:0', |
| 30 | 30 | 'user' => 'int:0', |
| 31 | 31 | 'date' => 'int:0', |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | use |
| 10 | 10 | cs\Language; |
| 11 | 11 | /** |
| 12 | - * Class for simplified work with translations, when using common prefix |
|
| 13 | - */ |
|
| 12 | + * Class for simplified work with translations, when using common prefix |
|
| 13 | + */ |
|
| 14 | 14 | class Prefix { |
| 15 | 15 | /** |
| 16 | 16 | * @var string |