@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * |
| 15 | 15 | * @param array $elements |
| 16 | 16 | */ |
| 17 | - public function __construct(array $elements = []) |
|
| 17 | + public function __construct(array $elements = [ ]) |
|
| 18 | 18 | { |
| 19 | 19 | parent::__construct(); |
| 20 | 20 | |
@@ -87,6 +87,6 @@ |
||
| 87 | 87 | | |
| 88 | 88 | */ |
| 89 | 89 | |
| 90 | - 'attributes' => [], |
|
| 90 | + 'attributes' => [ ], |
|
| 91 | 91 | |
| 92 | 92 | ]; |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (! function_exists('resources_url')) { |
|
| 3 | +if (!function_exists('resources_url')) { |
|
| 4 | 4 | function resources_url($path) |
| 5 | 5 | { |
| 6 | 6 | return '/packages/sleepingowl/default/'.$path; |
@@ -14,11 +14,11 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | 16 | WysiwygManager::register('ckeditor') |
| 17 | - ->js(null, '//cdn.ckeditor.com/4.5.7/standard/ckeditor.js', ['jquery']); |
|
| 17 | + ->js(null, '//cdn.ckeditor.com/4.5.7/standard/ckeditor.js', [ 'jquery' ]); |
|
| 18 | 18 | |
| 19 | 19 | WysiwygManager::register('tinymce') |
| 20 | - ->js(null, '//cdn.tinymce.com/4/tinymce.min.js', ['jquery']); |
|
| 20 | + ->js(null, '//cdn.tinymce.com/4/tinymce.min.js', [ 'jquery' ]); |
|
| 21 | 21 | |
| 22 | 22 | WysiwygManager::register('simplemde', new \SleepingOwl\Admin\Wysiwyg\MarkdownFilter()) |
| 23 | - ->js(null, '//cdn.jsdelivr.net/simplemde/latest/simplemde.min.js', ['jquery']) |
|
| 23 | + ->js(null, '//cdn.jsdelivr.net/simplemde/latest/simplemde.min.js', [ 'jquery' ]) |
|
| 24 | 24 | ->css(null, '//cdn.jsdelivr.net/simplemde/latest/simplemde.min.css'); |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | | |
| 46 | 46 | */ |
| 47 | 47 | |
| 48 | - 'middleware' => ['web'], |
|
| 48 | + 'middleware' => [ 'web' ], |
|
| 49 | 49 | |
| 50 | 50 | /* |
| 51 | 51 | |-------------------------------------------------------------------------- |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * See https://github.com/NextStepWebs/simplemde-markdown-editor |
| 134 | 134 | */ |
| 135 | 135 | 'simplemde' => [ |
| 136 | - 'hideIcons' => ['side-by-side', 'fullscreen'], |
|
| 136 | + 'hideIcons' => [ 'side-by-side', 'fullscreen' ], |
|
| 137 | 137 | ], |
| 138 | 138 | ], |
| 139 | 139 | |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | | Select default settings for datatable |
| 146 | 146 | | |
| 147 | 147 | */ |
| 148 | - 'datatables' => [], |
|
| 148 | + 'datatables' => [ ], |
|
| 149 | 149 | |
| 150 | 150 | /* |
| 151 | 151 | |-------------------------------------------------------------------------- |