Skip to content

Commit 810b734

Browse files
eafarooqiMGatner
andauthored
Update src/Traits/EntityTrait.php
Co-authored-by: MGatner <mgatner@icloud.com>
1 parent 2f3902d commit 810b734

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Traits/EntityTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function __call(string $name, array $arguments)
154154
public function relations(string $tableName, $keysOnly = false)
155155
{
156156
// If entity primary key is not set then finish
157-
if (!isset($this->attributes[$this->primaryKey]))
157+
if (! isset($this->attributes[$this->primaryKey]))
158158
{
159159
return null;
160160
}

0 commit comments

Comments
 (0)