Passed
Push — develop ( 278ae4...27fb2a )
by Jens
02:34
created
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/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.
cloudcontrol/library/components/FormComponent.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	/**
112 112
 	 * Sets variables needed for rendering the form template
113 113
 	 *
114
-	 * @param $storage
114
+	 * @param Storage $storage
115 115
 	 */
116 116
 	private function initialize($storage)
117 117
 	{
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 	 * submitting the form
148 148
 	 *
149 149
 	 * @param $postValues
150
-	 * @param $storage
150
+	 * @param Storage $storage
151 151
 	 */
152 152
 	protected function postSubmit($postValues, $storage)
153 153
 	{
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 	/**
172 172
 	 * Checks if this form has been submitted
173 173
 	 *
174
-	 * @param $request
174
+	 * @param \library\cc\Request $request
175 175
 	 *
176 176
 	 * @return bool
177 177
 	 */
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 	/**
184 184
 	 *
185 185
 	 *
186
-	 * @param $request
186
+	 * @param \library\cc\Request $request
187 187
 	 */
188 188
 	private function getPostValues($request)
189 189
 	{
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
 
309 309
 	/**
310 310
 	 * @param $get
311
-	 * @param $request
311
+	 * @param \library\cc\Request $request
312 312
 	 */
313 313
 	private function resetPathBackup($get, $request)
314 314
 	{
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
 	}
321 321
 
322 322
 	/**
323
-	 * @param $form
323
+	 * @param string|null $form
324 324
 	 */
325 325
 	private function setFormParameter($form)
326 326
 	{
Please login to merge, or discard this patch.
cloudcontrol/library/storage/JsonStorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -892,6 +892,9 @@
 block discarded – undo
892 892
 			}
893 893
 		}
894 894
 
895
+		/**
896
+		 * @param string $path
897
+		 */
895 898
 		private function validateFilename($filename, $path)
896 899
 		{
897 900
 			$fileParts = explode('.', $filename);
Please login to merge, or discard this patch.