Passed
Push — master ( 9e3dfb...9f0fd4 )
by Adrian
05:31
created
src/Traits/SelectFields.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,11 +62,11 @@  discard block
 block discarded – undo
62 62
 
63 63
 	private function normalizeFields( $fields ) {
64 64
 		$array = Arrays::flattenValues( $fields );
65
-		$array = (array)$array;
65
+		$array = ( array ) $array;
66 66
 		$return = array();
67 67
 		array_walk_recursive( $array, function( $a ) use ( &$return ) {
68 68
 			$a = explode( ',', $a );
69
-			$return[] = $a;
69
+			$return[ ] = $a;
70 70
 		} );
71 71
 
72 72
 		return $return;
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 			return '*';
81 81
 		}
82 82
 
83
-		return implode( ', ', (array)$this->queryStructure->getElement( QueryStructure::FIELDS ));
83
+		return implode( ', ', ( array ) $this->queryStructure->getElement( QueryStructure::FIELDS ) );
84 84
 	}
85 85
 
86 86
 }
87 87
\ No newline at end of file
Please login to merge, or discard this patch.