Passed
Push — develop ( aef39e...046539 )
by Francisco
03:54
created
app/Judite/Models/Exchange.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,11 +72,11 @@
 block discarded – undo
72 72
      */
73 73
     public function setExchangeEnrollments(Enrollment $from, Enrollment $to) : self
74 74
     {
75
-        if (! $from->availableForExchange() || is_null($to->shift)) {
75
+        if ( ! $from->availableForExchange() || is_null($to->shift)) {
76 76
             throw new EnrollmentCannotBeExchangedException();
77 77
         }
78 78
 
79
-        if (! $from->course->is($to->course)) {
79
+        if ( ! $from->course->is($to->course)) {
80 80
             throw new ExchangeEnrollmentsOnDifferentCoursesException();
81 81
         }
82 82
 
Please login to merge, or discard this patch.