Passed
Push — develop ( f47d3a...40e245 )
by Jens
03:41
created
cloudcontrol/library/storage/JsonStorage.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 		/**
18 18
 		 * JsonStorage constructor.
19 19
 		 *
20
-		 * @param $storagePath
20
+		 * @param string $storagePath
21 21
 		 */
22 22
 		public function __construct($storagePath)
23 23
 		{
@@ -837,6 +837,9 @@  discard block
 block discarded – undo
837 837
 			}
838 838
 		}
839 839
 
840
+		/**
841
+		 * @param string $path
842
+		 */
840 843
 		private function validateFilename($filename, $path)
841 844
 		{
842 845
 			$fileParts = explode('.', $filename);
Please login to merge, or discard this patch.
cloudcontrol/library/images/Image.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 		 * @see http://www.php.net/manual/en/function.image-type-to-mime-type.php
75 75
 		 * @param string $imagePath
76 76
 		 * @param bool $getExtension
77
-		 * @return bool|int|string
77
+		 * @return integer
78 78
 		 */
79 79
 		public function GetImageMimeType($imagePath, $getExtension = false)
80 80
 		{
Please login to merge, or discard this patch.
cloudcontrol/library/components/LanguageComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     /**
106 106
      * Detect if the language is switched manually
107 107
      *
108
-     * @param $request
108
+     * @param Request $request
109 109
      */
110 110
     private function checkLanguageSwitch($request)
111 111
     {
Please login to merge, or discard this patch.
cloudcontrol/library/components/FormComponent.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
     /**
134 134
      * Sets variables needed for rendering the form template
135
-     * @param $storage
135
+     * @param Storage $storage
136 136
      */
137 137
     private function initialize($storage)
138 138
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * submitting the form
169 169
      *
170 170
      * @param $postValues
171
-     * @param $storage
171
+     * @param Storage $storage
172 172
      */
173 173
     protected function postSubmit($postValues, $storage)
174 174
     {}
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     /**
192 192
      * Checks if this form has been submitted
193 193
      *
194
-     * @param $request
194
+     * @param \library\cc\Request $request
195 195
      * @return bool
196 196
      */
197 197
     private function isFormSubmitted($request)
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     /**
203 203
      *
204 204
      *
205
-     * @param $request
205
+     * @param \library\cc\Request $request
206 206
      */
207 207
     private function getPostValues($request)
208 208
     {
Please login to merge, or discard this patch.
cloudcontrol/library/cc/cc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
  * @param array  $replace
117 117
  * @param string $delimiter
118 118
  *
119
- * @return mixed|string
119
+ * @return string
120 120
  */
121 121
 function slugify($str, $replace=array(), $delimiter='-') {
122 122
 	if( !empty($replace) ) {
Please login to merge, or discard this patch.
cloudcontrol/library/cc/errorhandler.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -149,6 +149,11 @@
 block discarded – undo
149 149
     }
150 150
 }
151 151
 
152
+/**
153
+ * @param string $message
154
+ * @param string $file
155
+ * @param integer $code
156
+ */
152 157
 function renderCliException($message, $file, $line, $code, $trace, $lines)
153 158
 {
154 159
     echo PHP_EOL;
Please login to merge, or discard this patch.