@@ -28,7 +28,7 @@ |
||
| 28 | 28 | 'app.User', |
| 29 | 29 | 'app.UserOnline', |
| 30 | 30 | 'plugin.Bookmarks.Bookmark' |
| 31 | - ]; |
|
| 31 | + ]; |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * Test Bookmark table validation. |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use App\Controller\ErrorController; |
| 16 | 16 | use Cake\Controller\Component; |
| 17 | 17 | use Cake\Core\Configure; |
| 18 | -use Cake\ORM\TableRegistry; |
|
| 19 | 18 | use Cake\Routing\Router; |
| 20 | 19 | use Saito\App\Registry; |
| 21 | 20 | use Saito\Smiley\SmileyLoader; |
@@ -226,6 +226,7 @@ |
||
| 226 | 226 | |
| 227 | 227 | /** |
| 228 | 228 | * {@inheritdoc} |
| 229 | + * @param string $msg |
|
| 229 | 230 | */ |
| 230 | 231 | public function log($msg, $level = LogLevel::INFO, $context = ['saito.install']) |
| 231 | 232 | { |
@@ -15,9 +15,6 @@ |
||
| 15 | 15 | use Cake\Core\Configure; |
| 16 | 16 | use Cake\Event\Event; |
| 17 | 17 | use Cake\Filesystem\File; |
| 18 | -use Cake\I18n\I18n; |
|
| 19 | -use Cake\ORM\Table; |
|
| 20 | -use Cake\ORM\TableRegistry; |
|
| 21 | 18 | use Installer\Form\UpdaterStartForm; |
| 22 | 19 | use Installer\Lib\DbVersion; |
| 23 | 20 | use Psr\Log\LogLevel; |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | ->addType('audio/mp4') |
| 109 | 109 | ->addType('audio/webm') |
| 110 | 110 | ->addType('image/jpeg', '19MB') |
| 111 | - ->addType('image/png', '19MB') |
|
| 111 | + ->addType('image/png', '19MB') |
|
| 112 | 112 | ->addType('image/svg+xml') |
| 113 | 113 | ->addType('text/plain') |
| 114 | 114 | ->addType('video/mp4') |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | $this->addBehavior( |
| 78 | 78 | 'Proffer.Proffer', |
| 79 | 79 | [ |
| 80 | - 'avatar' => [ // The name of your upload field (filename) |
|
| 80 | + 'avatar' => [// The name of your upload field (filename) |
|
| 81 | 81 | 'root' => $avatarRootDir, |
| 82 | 82 | 'dir' => 'avatar_dir', // field for upload directory |
| 83 | 83 | 'thumbnailSizes' => [ |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * help |
| 39 | 39 | * |
| 40 | 40 | * @param string $id id |
| 41 | - * @return mixed |
|
| 41 | + * @return string|null |
|
| 42 | 42 | */ |
| 43 | 43 | public function help($id) |
| 44 | 44 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * |
| 77 | 77 | * @param string $text text |
| 78 | 78 | * @param null $type type |
| 79 | - * @return mixed |
|
| 79 | + * @return string|null |
|
| 80 | 80 | */ |
| 81 | 81 | public function badge($text, $type = null) |
| 82 | 82 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * Constructor |
| 21 | 21 | * |
| 22 | - * @param array $settings settings |
|
| 22 | + * @param \Saito\Markup\MarkupSettings|null $settings settings |
|
| 23 | 23 | */ |
| 24 | 24 | public function __construct($settings) |
| 25 | 25 | { |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | /** |
| 106 | 106 | * Creates name for sitemap-file |
| 107 | 107 | * |
| 108 | - * @param array $params additional name parameters |
|
| 108 | + * @param integer[] $params additional name parameters |
|
| 109 | 109 | * @return string |
| 110 | 110 | */ |
| 111 | 111 | protected function _filename($params = []) |