Completed
Push — master ( 28a3fd...3184a8 )
by Jared
02:04
created
src/Cacheable.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
         // cache the local properties
161 161
         $item = $this->getCacheItem();
162 162
         $item->set($this->_values)
163
-             ->expiresAfter($this->getCacheTTL());
163
+                ->expiresAfter($this->getCacheTTL());
164 164
 
165 165
         self::$cachePool->save($item);
166 166
 
Please login to merge, or discard this patch.
src/ACLModel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
         // check the if the requester has the `create`
113 113
         // permission before creating
114
-        static::creating(function (ModelEvent $event) {
114
+        static::creating(function(ModelEvent $event) {
115 115
             $model = $event->getModel();
116 116
 
117 117
             $permission = self::PERMISSION_CREATE;
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         // check the if the requester has the `edit`
126 126
         // permission before updating
127
-        static::updating(function (ModelEvent $event) {
127
+        static::updating(function(ModelEvent $event) {
128 128
             $model = $event->getModel();
129 129
 
130 130
             $permission = self::PERMISSION_UPDATE;
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
         // check the if the requester has the `delete`
139 139
         // permission before deleting
140
-        static::deleting(function (ModelEvent $event) {
140
+        static::deleting(function(ModelEvent $event) {
141 141
             $model = $event->getModel();
142 142
 
143 143
             $permission = self::PERMISSION_DELETE;
Please login to merge, or discard this patch.
src/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,13 +189,13 @@
 block discarded – undo
189 189
             static::$casts['updated_at'] = self::TYPE_DATE;
190 190
         }
191 191
 
192
-        self::creating(function (ModelEvent $event) {
192
+        self::creating(function(ModelEvent $event) {
193 193
             $model = $event->getModel();
194 194
             $model->created_at = Carbon::now();
195 195
             $model->updated_at = Carbon::now();
196 196
         });
197 197
 
198
-        self::updating(function (ModelEvent $event) {
198
+        self::updating(function(ModelEvent $event) {
199 199
             $event->getModel()->updated_at = Carbon::now();
200 200
         });
201 201
     }
Please login to merge, or discard this patch.