Completed
Push — master ( 5b69f2...ce3c4a )
by
unknown
05:25
created
src/Abstractor/Eloquent/Relation/SelectMultiple.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function persist(array $relationArray = null)
30 30
     {
31
-        if (! empty($relationArray)) {
31
+        if (!empty($relationArray)) {
32 32
             /** @var \ANavallaSuiza\Laravel\Database\Contracts\Repository\Repository $repo */
33 33
             $repo = $this->modelManager->getRepository(get_class($this->eloquentRelation->getRelated()));
34 34
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             $alreadyAssociated = $this->relatedModel->$relationName;
38 38
 
39 39
             $search = [];
40
-            if (! empty($relationArray[$relatedKeyName])) {
40
+            if (!empty($relationArray[$relatedKeyName])) {
41 41
                 $search = $relationArray[$relatedKeyName];
42 42
             }
43 43
             $results = $repo->pushCriteria(
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 $result->save();
54 54
             }
55 55
 
56
-            if (! $missing->isEmpty()) {
56
+            if (!$missing->isEmpty()) {
57 57
                 foreach ($missing as $result) {
58 58
                     $result->$keyName = null;
59 59
                     $result->save();
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     {
99 99
         $results = $this->eloquentRelation->getResults();
100 100
 
101
-        if (! $results->isEmpty()) {
101
+        if (!$results->isEmpty()) {
102 102
             $values = [];
103 103
 
104 104
             foreach ($results as $result) {
Please login to merge, or discard this patch.