Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function register() |
||
27 | { |
||
28 | Blueprint::macro('auditable', function () { |
||
29 | $this->unsignedBigInteger('created_by')->nullable()->index(); |
||
|
|||
30 | $this->unsignedBigInteger('updated_by')->nullable()->index(); |
||
31 | }); |
||
32 | |||
33 | Blueprint::macro('dropAuditable', function () { |
||
34 | $this->dropColumn(['created_by', 'updated_by']); |
||
35 | }); |
||
36 | |||
37 | Blueprint::macro('auditableWithDeletes', function () { |
||
38 | $this->unsignedBigInteger('created_by')->nullable()->index(); |
||
39 | $this->unsignedBigInteger('updated_by')->nullable()->index(); |
||
40 | $this->unsignedBigInteger('deleted_by')->nullable()->index(); |
||
41 | }); |
||
42 | |||
43 | Blueprint::macro('dropAuditableWithDeletes', function () { |
||
44 | $this->dropColumn(['created_by', 'updated_by', 'deleted_by']); |
||
45 | }); |
||
46 | } |
||
47 | } |
||
48 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.