| @@ -70,7 +70,9 @@ | ||
| 70 | 70 |          foreach ($this->children as $i => $child) { | 
| 71 | 71 | |
| 72 | 72 | // Do not render offline relations | 
| 73 | - if($child->relation->isOffline()) continue; | |
| 73 | +            if($child->relation->isOffline()) { | |
| 74 | + continue; | |
| 75 | + } | |
| 74 | 76 | |
| 75 | 77 |              if ($child instanceof StoredSetReference) { | 
| 76 | 78 | $this->addSetToCollection($i, $child->toSet($this->parent)); | 
| @@ -40,7 +40,9 @@ | ||
| 40 | 40 |      { | 
| 41 | 41 |          $mode = config('thinktomorrow.chief.preview-mode'); | 
| 42 | 42 | |
| 43 | - if(!$mode || $mode == 'live') return false; | |
| 43 | +        if(!$mode || $mode == 'live') { | |
| 44 | + return false; | |
| 45 | + } | |
| 44 | 46 | |
| 45 | 47 | return ($mode == 'preview'); | 
| 46 | 48 | } | 
| @@ -150,7 +150,9 @@ | ||
| 150 | 150 | }); | 
| 151 | 151 | |
| 152 | 152 |          foreach(request()->query() as $key => $value) { | 
| 153 | - if($key == 'page') continue; | |
| 153 | +            if($key == 'page') { | |
| 154 | + continue; | |
| 155 | + } | |
| 154 | 156 | $paginator->appends($key, $value); | 
| 155 | 157 | } | 
| 156 | 158 | |