Completed
Branch develop (fd9c09)
by Evan
02:27
created
src/Taxonomy/Taxonomy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.