@@ -85,11 +85,11 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | protected function loadAvailableLanguages() |
| 87 | 87 | { |
| 88 | - if(self::$_langs === null) { |
|
| 88 | + if (self::$_langs === null) { |
|
| 89 | 89 | self::$_langs = []; |
| 90 | 90 | $path = Prado::getPathOfNameSpace('Vendor\\pradosoft\\tinymce-langs\\langs'); |
| 91 | 91 | $files = scandir($path); |
| 92 | - if($files !== false) { |
|
| 92 | + if ($files !== false) { |
|
| 93 | 93 | foreach ($files as $f) { |
| 94 | 94 | if ($f === '.' || $f === '..' || strlen($f) < 4 || substr($f, -3) != '.js') { |
| 95 | 95 | continue; |
@@ -103,11 +103,11 @@ discard block |
||
| 103 | 103 | |
| 104 | 104 | protected function loadAvailablePlugins() |
| 105 | 105 | { |
| 106 | - if(self::$_plugins === null) { |
|
| 106 | + if (self::$_plugins === null) { |
|
| 107 | 107 | self::$_plugins = []; |
| 108 | 108 | $path = Prado::getPathOfNameSpace('Vendor\\bower-asset\\tinymce\\plugins'); |
| 109 | 109 | $files = scandir($path); |
| 110 | - if($files !== false) { |
|
| 110 | + if ($files !== false) { |
|
| 111 | 111 | foreach ($files as $f) { |
| 112 | 112 | if ($f === '.' || $f === '..') { |
| 113 | 113 | continue; |
@@ -120,11 +120,11 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | protected function loadAvailableThemes() |
| 122 | 122 | { |
| 123 | - if(self::$_themes === null) { |
|
| 123 | + if (self::$_themes === null) { |
|
| 124 | 124 | self::$_themes = []; |
| 125 | 125 | $path = Prado::getPathOfNameSpace('Vendor\\bower-asset\\tinymce\\themes'); |
| 126 | 126 | $files = scandir($path); |
| 127 | - if($files !== false) { |
|
| 127 | + if ($files !== false) { |
|
| 128 | 128 | foreach ($files as $f) { |
| 129 | 129 | if ($f === '.' || $f === '..') { |
| 130 | 130 | continue; |