Skip to content

Commit 32e8767

Browse files
authored
Update EntityTrait.php
1 parent 810b734 commit 32e8767

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Traits/EntityTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ public function __isset(string $key): bool
7676
*/
7777
public function __call(string $name, array $arguments)
7878
{
79+
$this->_verifyRelatable();
80+
7981
$verbs = ['has', 'set', 'add', 'remove'];
8082

8183
// Parse the name to check for supported relation verbs

0 commit comments

Comments
 (0)