@@ -260,13 +260,13 @@ |
||
260 | 260 | { |
261 | 261 | static::$properties = array_replace(self::$timestampProperties, static::$properties); |
262 | 262 | |
263 | - self::creating(function (ModelEvent $event) { |
|
263 | + self::creating(function(ModelEvent $event) { |
|
264 | 264 | $model = $event->getModel(); |
265 | 265 | $model->created_at = time(); |
266 | 266 | $model->updated_at = time(); |
267 | 267 | }); |
268 | 268 | |
269 | - self::updating(function (ModelEvent $event) { |
|
269 | + self::updating(function(ModelEvent $event) { |
|
270 | 270 | $event->getModel()->updated_at = time(); |
271 | 271 | }); |
272 | 272 | } |