Skip to content

Commit a690e65

Browse files
Sairahcazgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 14505e2 commit a690e65

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/DynamicModelException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ final class DynamicModelException extends InvalidArgumentException
88
{
99
public static function tableDoesNotExist(string $tableName): static
1010
{
11-
return new static("The table '$tableName' you provided to the dynamic model does not exists! Please create it first!");
11+
return new self("The table '$tableName' you provided to the dynamic model does not exists! Please create it first!");
1212
}
1313

1414
public static function primaryKeyDoesNotExist(): static

src/DynamicModelFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public function create(string $concreteClassName, string $tableName, string $dbC
1616

1717
// tell the IDE which type $dynamicModel should be...
1818
/** @var $dynamicModel Model&DynamicModelInterface */
19-
2019
if (! method_exists($dynamicModel, 'bindDynamically')) {
2120
throw DynamicModelException::bindFuncDoesNotExist($concreteClassName);
2221
}

0 commit comments

Comments
 (0)