Passed
Push — develop ( a05aab...7fca41 )
by Mathew
07:11 queued 03:33
created
src/Commands/GenerateInvitations.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
         try
54 54
         {
55
-            $invite = LaravelInvites::for($email)->allow($allow);
55
+            $invite = LaravelInvites::for ($email)->allow($allow);
56 56
 
57 57
             if ($days) {
58 58
                             $invite->setExpiry(now()->addDays($days));
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,9 @@
 block discarded – undo
52 52
 
53 53
         try
54 54
         {
55
-            $invite = LaravelInvites::for($email)->allow($allow);
55
+            $invite = LaravelInvites::for($email) {
56
+                ->allow($allow);
57
+            }
56 58
 
57 59
             if ($days) {
58 60
                             $invite->setExpiry(now()->addDays($days));
Please login to merge, or discard this patch.
src/LaravelInvites.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * 
66 66
      * @return \mathewparet\LaravelInvites\Facades\LaravelInvites
67 67
      */
68
-    public function for($email = null)
68
+    public function for ($email = null)
69 69
     {
70 70
         if (!$email)
71 71
         {
Please login to merge, or discard this patch.