Passed
Push — master ( 3cb13d...a86dde )
by Akpé Aurelle Emmanuel Moïse
01:58
created
src/Shortcut.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         
24 24
         public static function SetShortcutForAll($bool)
25 25
         {
26
-            self::$SHORTCUT_FOR_ALL=(bool)$bool;
26
+            self::$SHORTCUT_FOR_ALL=(bool) $bool;
27 27
         }
28 28
         public static function create($classname, $name=self::CAN_NEVER_EVER_CHOOSE_THIS_AS_FUNCTION_NAME)
29 29
         {
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
                 $private_scope=true;
79 79
             }
80 80
 
81
-            return  self::BuildCacheAndShow($classname,$name,$file,$Dir,$fullQualifiedClassname,$fileExists,$reflectionClass,$reflectionMethod,$notInstantiable,$private_scope);      
81
+            return  self::BuildCacheAndShow($classname, $name, $file, $Dir, $fullQualifiedClassname, $fileExists, $reflectionClass, $reflectionMethod, $notInstantiable, $private_scope);      
82 82
            
83 83
         }
84 84
 		
85
-		private static function BuildCacheAndShow($classname,$name,$file,$Dir,$fullQualifiedClassname,$fileExists,$reflectionClass,$reflectionMethod,$notInstantiable,$private_scope){
85
+		private static function BuildCacheAndShow($classname, $name, $file, $Dir, $fullQualifiedClassname, $fileExists, $reflectionClass, $reflectionMethod, $notInstantiable, $private_scope) {
86 86
 			self::getSignature($reflectionMethod, $signature, $parameters, $paramsNum, $count);        
87 87
             $hasInternal='';
88 88
             if ($count) {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         
116 116
         private static function getParameterDeclaration(\reflectionParameter $param, &$tmp, &$count, $method)
117 117
         {
118
-            $tmp=$param->isPassedByReference()?'&$'.$param->getName():'$'.$param->getName();
118
+            $tmp=$param->isPassedByReference() ? '&$'.$param->getName() : '$'.$param->getName();
119 119
             if ($param->isOptional()) {
120 120
                 $count++;
121 121
                 if ($method->isInternal()) {
Please login to merge, or discard this patch.