We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2494d8a commit cf54541Copy full SHA for cf54541
tests/Unit/AuditableTest.php
@@ -981,9 +981,9 @@ public function itTransitionsWhenTheAuditAuditableIdTypeDoesNotMatchTheModelIdTy
981
982
// Key depends on type
983
if ($model->getKeyType() == 'string') {
984
- $key = (string)$model->id;
+ $key = (string) $model->id;
985
} else {
986
- $key = (int)$model->id;
+ $key = (int) $model->id;
987
}
988
989
$audit = factory(Audit::class)->create([
tests/database/factories/ApiModelFactory.php
@@ -1,8 +1,8 @@
1
<?php
2
3
-use Ramsey\Uuid\Uuid;
4
use Faker\Generator as Faker;
5
use OwenIt\Auditing\Tests\Models\ApiModel;
+use Ramsey\Uuid\Uuid;
6
7
/*
8
|--------------------------------------------------------------------------
0 commit comments