@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * add new category |
37 | 37 | * |
38 | - * @return \Cake\Network\Response|void |
|
38 | + * @return \Cake\Http\Response|null |
|
39 | 39 | */ |
40 | 40 | public function add() |
41 | 41 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * edit category |
67 | 67 | * |
68 | 68 | * @param string $id category-ID |
69 | - * @return \Cake\Network\Response|void |
|
69 | + * @return \Cake\Http\Response|null |
|
70 | 70 | */ |
71 | 71 | public function edit($id) |
72 | 72 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * |
107 | 107 | * @param string $id category-ID |
108 | 108 | * |
109 | - * @return \Cake\Network\Response|void |
|
109 | + * @return \Cake\Http\Response|null |
|
110 | 110 | */ |
111 | 111 | public function delete($id) |
112 | 112 | { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * add user |
47 | 47 | * |
48 | - * @return \Cake\Network\Response|void |
|
48 | + * @return \Cake\Http\Response|null |
|
49 | 49 | */ |
50 | 50 | public function add() |
51 | 51 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * delete user |
69 | 69 | * |
70 | 70 | * @param string $id user-ID |
71 | - * @return \Cake\Network\Response|void |
|
71 | + * @return \Cake\Http\Response|null |
|
72 | 72 | */ |
73 | 73 | public function delete($id) |
74 | 74 | { |
@@ -566,6 +566,7 @@ |
||
566 | 566 | |
567 | 567 | /** |
568 | 568 | * {@inheritDoc} |
569 | + * @param string $content |
|
569 | 570 | */ |
570 | 571 | protected function _getUrl($content, $attributes) |
571 | 572 | { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * @param Form $contact contact-form |
86 | 86 | * @param mixed $recipient recipient |
87 | 87 | * @param mixed $sender sender |
88 | - * @return \Cake\Network\Response|void |
|
88 | + * @return \Cake\Http\Response|null |
|
89 | 89 | */ |
90 | 90 | protected function _contact(Form $contact, $recipient, $sender) |
91 | 91 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * get editor help |
88 | 88 | * |
89 | - * @return mixed |
|
89 | + * @return string |
|
90 | 90 | */ |
91 | 91 | public function editorHelp() |
92 | 92 | { |
@@ -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 | { |
@@ -125,6 +125,7 @@ |
||
125 | 125 | |
126 | 126 | /** |
127 | 127 | * {@inheritdoc} |
128 | + * @param string $key |
|
128 | 129 | */ |
129 | 130 | public function getConfig($key = null, $default = null) |
130 | 131 | { |
@@ -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' => [ |