Passed
Branch master (c4846a)
by Oskars
03:18
created
src/Scenarios.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 		 */
68 68
 		public function Scenario_Pattern_Filter($method)
69 69
 		{
70
-			preg_match_all(self::$SCENARIO_PATTERN , strtolower($method), $matches);
70
+			preg_match_all(self::$SCENARIO_PATTERN, strtolower($method), $matches);
71 71
 			
72 72
 			return $matches[0][0] ?? isset($matches[0][0]);
73 73
 		}
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 		 */
119 119
 		public function Current_Controller_Function_Name()
120 120
 		{
121
-			preg_match_all(self::$CURRENT_CONTROLLER_NAME_PATTERN , self::Scenario_Current_Controller(), $matches, PREG_SET_ORDER, 1);
122
-			return ucfirst($matches[0][1] ?? isset($matches[0][1]) ?:  $matches[0][2] ?? isset($matches[0][2]));
121
+			preg_match_all(self::$CURRENT_CONTROLLER_NAME_PATTERN, self::Scenario_Current_Controller(), $matches, PREG_SET_ORDER, 1);
122
+			return ucfirst($matches[0][1] ?? isset($matches[0][1]) ?: $matches[0][2] ?? isset($matches[0][2]));
123 123
 		}
124 124
 	}
125 125
\ No newline at end of file
Please login to merge, or discard this patch.