Completed
Push — master ( 0f4d11...08f75a )
by Freek
03:39
created
app/Models/Article.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function isSpecialArticle($specialArticleName = ''): bool
43 43
     {
44 44
         if ($specialArticleName === '') {
45
-            return ! empty($this->technical_name);
45
+            return !empty($this->technical_name);
46 46
         }
47 47
 
48 48
         return $this->technical_name === $specialArticleName;
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     public function getFirstChildAttribute(): Article
62 62
     {
63
-        if (! $this->hasChildren()) {
63
+        if (!$this->hasChildren()) {
64 64
             throw new Exception("Article `{$this->id}` doesn't have any children.");
65 65
         }
66 66
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     public function hasParent(): bool
83 83
     {
84
-        return ! is_null($this->parent);
84
+        return !is_null($this->parent);
85 85
     }
86 86
 
87 87
     public function getUrlAttribute(): string
Please login to merge, or discard this patch.