@@ -72,11 +72,11 @@ |
||
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 |