@@ -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' => [ |
@@ -26,7 +26,6 @@ |
||
26 | 26 | use Cake\Datasource\Exception\RecordNotFoundException; |
27 | 27 | use Cake\Event\Event; |
28 | 28 | use Cake\ORM\Entity; |
29 | -use Cake\ORM\Locator\TableLocator; |
|
30 | 29 | use Cake\ORM\Query; |
31 | 30 | use Cake\ORM\TableRegistry; |
32 | 31 | use Cake\Validation\Validation; |
@@ -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 = []) |
@@ -170,7 +170,7 @@ |
||
170 | 170 | /** |
171 | 171 | * time to Cake start |
172 | 172 | * |
173 | - * @return mixed |
|
173 | + * @return double |
|
174 | 174 | */ |
175 | 175 | protected static function _timeToCake() |
176 | 176 | { |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * Get status as JSON response |
66 | 66 | * |
67 | 67 | * @param string $data json-encoded data |
68 | - * @return mixed |
|
68 | + * @return string |
|
69 | 69 | */ |
70 | 70 | protected function _statusAsJson($data) |
71 | 71 | { |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * Set object |
59 | 59 | * |
60 | 60 | * @param string $key $key |
61 | - * @param object $object object |
|
61 | + * @param \Saito\User\CurrentUser\CurrentUserInterface $object object |
|
62 | 62 | * @return void |
63 | 63 | */ |
64 | 64 | public static function set($key, $object) |
@@ -72,7 +72,7 @@ |
||
72 | 72 | /** |
73 | 73 | * attaches event-listener |
74 | 74 | * |
75 | - * @param string|SaitoEventListener $key key |
|
75 | + * @param \Saito\Cache\EntriesCacheSupportCachelet $key key |
|
76 | 76 | * @param null $callable function if $key is set |
77 | 77 | * @return void |
78 | 78 | * @throws \InvalidArgumentException |