Completed
Branch master (46f5ac)
by phper
02:57
created
src/Contracts/Sms.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,9 @@
 block discarded – undo
20 20
             $agentFileName = end($formattedClassName);
21 21
             $agents = config("sms.agents");
22 22
             foreach ($agents as $key => $value) {
23
-                if (strcmp($value['executableFile'], $agentFileName) == 0)
24
-                    return $key;
23
+                if (strcmp($value['executableFile'], $agentFileName) == 0) {
24
+                                    return $key;
25
+                }
25 26
             }
26 27
         }
27 28
         throw new \InvalidArgumentException("Unauthorized access.");
Please login to merge, or discard this patch.