Passed
Pull Request — master (#416)
by
unknown
01:51
created
src/Client.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -149,17 +149,17 @@
 block discarded – undo
149 149
      */
150 150
     public function get_event($command)
151 151
     {
152
-	    $events = $this->events;
152
+     $events = $this->events;
153 153
 	
154
-	    foreach($events->events as $event)
155
-		{
156
-		   $checker = $event->getChecker();
157
-		   $closureReflection = new ReflectionFunction($checker);
154
+     foreach($events->events as $event)
155
+  {
156
+     $checker = $event->getChecker();
157
+     $closureReflection = new ReflectionFunction($checker);
158 158
            $variables = $closureReflection->getStaticVariables();
159 159
 		    
160
-		   if(preg_match('/'.$variables['name'].'/', $command))
161
-			  return $event;
162
-		}
160
+     if(preg_match('/'.$variables['name'].'/', $command))
161
+     return $event;
162
+  }
163 163
 	
164 164
         return false;
165 165
     }
Please login to merge, or discard this patch.