Completed
Push — master ( 409ce2...ca0be7 )
by Evan
07:40
created
src/Post/PostType.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public static function load($slug)
63 63
     {
64
-        if (! $object = get_post_type_object($slug)) {
64
+        if ( ! $object = get_post_type_object($slug)) {
65 65
             throw new NonExistentPostTypeException("No post type exists with name '$slug'.");
66 66
         }
67 67
 
@@ -98,12 +98,12 @@  discard block
 block discarded – undo
98 98
      */
99 99
     public function supports($features)
100 100
     {
101
-        if (! is_array($features)) {
101
+        if ( ! is_array($features)) {
102 102
             $features = func_get_args();
103 103
         }
104 104
 
105 105
         return ! collect($features)
106
-            ->contains(function ($key, $feature) {
106
+            ->contains(function($key, $feature) {
107 107
                 return ! post_type_supports($this->slug, $feature);
108 108
             });
109 109
     }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     public function removeSupportFor($features)
131 131
     {
132 132
         collect(is_array($features) ? $features : func_get_args())
133
-            ->each(function ($features) {
133
+            ->each(function($features) {
134 134
                 remove_post_type_support($this->slug, $features);
135 135
             });
136 136
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     public function unregister()
146 146
     {
147
-        if (! static::exists($this->slug)) {
147
+        if ( ! static::exists($this->slug)) {
148 148
             throw new NonExistentPostTypeException("No post type exists with name '{$this->slug}'.");
149 149
         }
150 150
 
Please login to merge, or discard this patch.
src/Post/PostTypeBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function supports($features)
76 76
     {
77
-        if (! is_array($features)) {
77
+        if ( ! is_array($features)) {
78 78
             $features = func_get_args();
79 79
         }
80 80
 
Please login to merge, or discard this patch.