| @@ -86,7 +86,7 @@ discard block | ||
| 86 | 86 | return static::$managedModelKey; | 
| 87 | 87 | } | 
| 88 | 88 | |
| 89 | -        throw new \Exception('Missing required static property \'managedModelKey\' on ' . static::class. '.'); | |
| 89 | +        throw new \Exception('Missing required static property \'managedModelKey\' on '.static::class.'.'); | |
| 90 | 90 | } | 
| 91 | 91 | |
| 92 | 92 | /** | 
| @@ -126,9 +126,9 @@ discard block | ||
| 126 | 126 | public function flatReferenceLabel(): string | 
| 127 | 127 |      { | 
| 128 | 128 |          if ($this->exists) { | 
| 129 | - $status = ! $this->isPublished() ? ' [' . $this->statusAsPlainLabel().']' : null; | |
| 129 | + $status = !$this->isPublished() ? ' ['.$this->statusAsPlainLabel().']' : null; | |
| 130 | 130 | |
| 131 | - return $this->title ? $this->title . $status : ''; | |
| 131 | + return $this->title ? $this->title.$status : ''; | |
| 132 | 132 | } | 
| 133 | 133 | |
| 134 | 134 | return ''; | 
| @@ -138,8 +138,8 @@ discard block | ||
| 138 | 138 |      { | 
| 139 | 139 | $classKey = get_class($this); | 
| 140 | 140 |          if (property_exists($this, 'labelSingular')) { | 
| 141 | - $labelSingular = $this->labelSingular; | |
| 142 | -        } else { | |
| 141 | + $labelSingular = $this->labelSingular; | |
| 142 | +        }else { | |
| 143 | 143 | $labelSingular = Str::singular($classKey); | 
| 144 | 144 | } | 
| 145 | 145 | |
| @@ -182,7 +182,7 @@ discard block | ||
| 182 | 182 | |
| 183 | 183 | $memoizedKey = $this->getMorphClass().'-'.$this->id.'-'.$locale; | 
| 184 | 184 | |
| 185 | -            if(isset(static::$cachedUrls[$memoizedKey])) { | |
| 185 | +            if (isset(static::$cachedUrls[$memoizedKey])) { | |
| 186 | 186 | return static::$cachedUrls[$memoizedKey]; | 
| 187 | 187 | } | 
| 188 | 188 | |