Passed
Push — master ( 60d66c...bc3293 )
by Mike
03:04
created
tests/database/factories/StoreFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Store;
5 5
 
6
-$factory->define(Store::class, function (Faker $faker) {
6
+$factory->define(Store::class, function(Faker $faker) {
7 7
     return [
8 8
         'address' => $faker->address,
9 9
         'name' => $faker->company,
Please login to merge, or discard this patch.
tests/database/factories/ProfileFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Profile;
5 5
 
6
-$factory->define(Profile::class, function (Faker $faker) {
6
+$factory->define(Profile::class, function(Faker $faker) {
7 7
     return [
8 8
         'first_name' => $faker->firstName,
9 9
         'first_name' => $faker->lastName,
Please login to merge, or discard this patch.
src/CachedModel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,19 +22,19 @@
 block discarded – undo
22 22
         $class = get_called_class();
23 23
         $instance = new $class;
24 24
 
25
-        static::created(function () use ($instance) {
25
+        static::created(function() use ($instance) {
26 26
             $instance->flushCache();
27 27
         });
28 28
 
29
-        static::deleted(function () use ($instance) {
29
+        static::deleted(function() use ($instance) {
30 30
             $instance->flushCache();
31 31
         });
32 32
 
33
-        static::saved(function () use ($instance) {
33
+        static::saved(function() use ($instance) {
34 34
             $instance->flushCache();
35 35
         });
36 36
 
37
-        static::updated(function () use ($instance) {
37
+        static::updated(function() use ($instance) {
38 38
             $instance->flushCache();
39 39
         });
40 40
     }
Please login to merge, or discard this patch.