@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | return static::load($identifier); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - if (! $identifier || strlen($identifier) > 32) { |
|
| 69 | + if ( ! $identifier || strlen($identifier) > 32) { |
|
| 70 | 70 | throw new InvalidTaxonomyNameException('Taxonomy names must be between 1 and 32 characters in length.'); |
| 71 | 71 | } |
| 72 | 72 | |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | */ |
| 85 | 85 | public static function load($identifier) |
| 86 | 86 | { |
| 87 | - if (! $object = get_taxonomy($identifier)) { |
|
| 87 | + if ( ! $object = get_taxonomy($identifier)) { |
|
| 88 | 88 | throw new NonExistentTaxonomyException("No taxonomy exists with name '$identifier'."); |
| 89 | 89 | } |
| 90 | 90 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | public function postTypes() |
| 122 | 122 | { |
| 123 | 123 | return Collection::make($this->object_type) |
| 124 | - ->map(function ($post_type) { |
|
| 124 | + ->map(function($post_type) { |
|
| 125 | 125 | return PostType::load($post_type); |
| 126 | 126 | }); |
| 127 | 127 | } |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | */ |
| 137 | 137 | public function unregister() |
| 138 | 138 | { |
| 139 | - if (! $this->exists($this->id)) { |
|
| 139 | + if ( ! $this->exists($this->id)) { |
|
| 140 | 140 | throw new NonExistentTaxonomyException; |
| 141 | 141 | } |
| 142 | 142 | |