Completed
Push — master ( 3c73d4...199458 )
by Sergi Tur
12:00 queued 01:57
created
src/Console/Installable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @param $fileName
38
+     * @param string $fileName
39 39
      * @param string $prompt
40 40
      *
41 41
      * @return bool
Please login to merge, or discard this patch.
src/Console/MakeRoute.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * Check if route exists.
147 147
      *
148 148
      * @param $link
149
-     * @return mixed
149
+     * @return boolean
150 150
      */
151 151
     protected function routeExists($link)
152 152
     {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      * Check if web route exists.
161 161
      *
162 162
      * @param $link
163
-     * @return mixed
163
+     * @return boolean
164 164
      */
165 165
     protected function webRouteExists($link)
166 166
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * Remove duplicated trailing slashes.
194 194
      *
195
-     * @param $link
195
+     * @param string $link
196 196
      * @return mixed
197 197
      */
198 198
     protected function removeDuplicatedTrailingSlashes($link)
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      * Check if api route exists.
205 205
      *
206 206
      * @param $link
207
-     * @return mixed
207
+     * @return boolean
208 208
      */
209 209
     protected function apiRouteExists($link)
210 210
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     /**
215 215
      * Crete tmp file with route to add.
216 216
      *
217
-     * @return mixed
217
+     * @return resource
218 218
      */
219 219
     protected function createTmpFileWithRoute()
220 220
     {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     /**
227 227
      * Get path from file resource.
228 228
      *
229
-     * @param $tmpfile
229
+     * @param resource $tmpfile
230 230
      * @return mixed
231 231
      */
232 232
     protected function getPath($tmpfile)
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
     /**
238 238
      * Get route code to insert depending on type.
239 239
      *
240
-     * @return mixed
240
+     * @return string
241 241
      */
242 242
     protected function getRouteCode()
243 243
     {
@@ -378,8 +378,8 @@  discard block
 block discarded – undo
378 378
     /**
379 379
      * Add method to controller.
380 380
      *
381
-     * @param $controller
382
-     * @param $controllerMethod     *
381
+     * @param string $controller
382
+     * @param string $controllerMethod     *
383 383
      */
384 384
     protected function addMethodToController($controller, $controllerMethod)
385 385
     {
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
      * Crete tmp file with route to add.
393 393
      *
394 394
      * @param $controllerMethod
395
-     * @return mixed
395
+     * @return resource
396 396
      */
397 397
     protected function createTmpFileWithMethod($controllerMethod)
398 398
     {
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
      * Get method code.
406 406
      *
407 407
      * @param $controllerMethod
408
-     * @return mixed
408
+     * @return string
409 409
      */
410 410
     protected function getMethodCode($controllerMethod)
411 411
     {
Please login to merge, or discard this patch.
public/plugins/ssp.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -29,19 +29,19 @@  discard block
 block discarded – undo
29 29
 // parameter represents the DataTables column identifier. In this case simple
30 30
 // indexes
31 31
 $columns = array(
32
-	array( 'db' => 'id',         'dt' => 0 ),
33
-	array( 'db' => 'firstname',  'dt' => 1 ),
34
-	array( 'db' => 'surname',    'dt' => 2 ),
35
-	array( 'db' => 'zip',        'dt' => 3 ),
36
-	array( 'db' => 'country',    'dt' => 4 )
32
+    array( 'db' => 'id',         'dt' => 0 ),
33
+    array( 'db' => 'firstname',  'dt' => 1 ),
34
+    array( 'db' => 'surname',    'dt' => 2 ),
35
+    array( 'db' => 'zip',        'dt' => 3 ),
36
+    array( 'db' => 'country',    'dt' => 4 )
37 37
 );
38 38
 
39 39
 // SQL server connection information
40 40
 $sql_details = array(
41
-	'user' => '',
42
-	'pass' => '',
43
-	'db'   => '',
44
-	'host' => ''
41
+    'user' => '',
42
+    'pass' => '',
43
+    'db'   => '',
44
+    'host' => ''
45 45
 );
46 46
 
47 47
 
@@ -53,6 +53,6 @@  discard block
 block discarded – undo
53 53
 require( '../../../../examples/server_side/scripts/ssp.class.php' );
54 54
 
55 55
 echo json_encode(
56
-	SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
56
+    SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
57 57
 );
58 58
 
Please login to merge, or discard this patch.
public/plugins/posteddata.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,22 +27,22 @@
 block discarded – undo
27 27
 
28 28
 if (!empty($_POST))
29 29
 {
30
-	foreach ( $_POST as $key => $value )
31
-	{
32
-		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
33
-			continue;
30
+    foreach ( $_POST as $key => $value )
31
+    {
32
+        if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
33
+            continue;
34 34
 
35
-		if ( get_magic_quotes_gpc() )
36
-			$value = htmlspecialchars( stripslashes((string)$value) );
37
-		else
38
-			$value = htmlspecialchars( (string)$value );
35
+        if ( get_magic_quotes_gpc() )
36
+            $value = htmlspecialchars( stripslashes((string)$value) );
37
+        else
38
+            $value = htmlspecialchars( (string)$value );
39 39
 ?>
40 40
 		<tr>
41 41
 			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
42 42
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
43 43
 		</tr>
44 44
 	<?php
45
-	}
45
+    }
46 46
 }
47 47
 ?>
48 48
 	</table>
Please login to merge, or discard this patch.