@@ -20,7 +20,7 @@ |
||
| 20 | 20 | use |
| 21 | 21 | CRUD, |
| 22 | 22 | Singleton; |
| 23 | - protected $data_model = [ |
|
| 23 | + protected $data_model = [ |
|
| 24 | 24 | 'id' => 'int', |
| 25 | 25 | 'title' => 'ml:text', |
| 26 | 26 | 'path' => 'ml:text', |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | 'option' => 'int', |
| 28 | 28 | 'user' => 'int' |
| 29 | 29 | ]; |
| 30 | - protected $table = '[prefix]polls_options_answers'; |
|
| 30 | + protected $table = '[prefix]polls_options_answers'; |
|
| 31 | 31 | |
| 32 | 32 | protected function cdb () { |
| 33 | 33 | return Config::instance()->module('Polls')->db('polls'); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | use |
| 21 | 21 | CRUD, |
| 22 | 22 | Singleton; |
| 23 | - protected $data_model = [ |
|
| 23 | + protected $data_model = [ |
|
| 24 | 24 | 'id' => 'int', |
| 25 | 25 | 'title' => 'ml:text', |
| 26 | 26 | 'path' => 'ml:text', |
@@ -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] = [ |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | CRUD_helpers, |
| 24 | 24 | Singleton; |
| 25 | 25 | |
| 26 | - protected $data_model = [ |
|
| 26 | + protected $data_model = [ |
|
| 27 | 27 | 'id' => 'int:0', |
| 28 | 28 | 'parent' => 'int:0', |
| 29 | 29 | 'title' => 'ml:text', |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | LIMIT 1", |
| 196 | 196 | $section['parent'] |
| 197 | 197 | ) ?: $section['parent']; |
| 198 | - $update = $this->db_prime()->q( |
|
| 198 | + $update = $this->db_prime()->q( |
|
| 199 | 199 | [ |
| 200 | 200 | "UPDATE `[prefix]blogs_sections` |
| 201 | 201 | SET `parent` = '%2\$d' |
@@ -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', |
@@ -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, |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | php build.php -M core -m Plupload,Static_pages |
| 76 | 76 | php build.php -M core -p TinyMCE -t DarkEnergy -s custom |
| 77 | 77 | php build.php -M module -m Plupload,Static_pages |
| 78 | -HELP; |
|
| 78 | +help; |
|
| 79 | 79 | } elseif ($mode == 'core') { |
| 80 | 80 | echo $Builder->core($modules, $plugins, $themes, $suffix)."\n"; |
| 81 | 81 | } else { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | php build.php -M core -m Plupload,Static_pages |
| 76 | 76 | php build.php -M core -p TinyMCE -t DarkEnergy -s custom |
| 77 | 77 | php build.php -M module -m Plupload,Static_pages |
| 78 | -HELP; |
|
| 78 | +help; |
|
| 79 | 79 | } elseif ($mode == 'core') { |
| 80 | 80 | echo $Builder->core($modules, $plugins, $themes, $suffix)."\n"; |
| 81 | 81 | } else { |