Skip to content

Commit 8e515df

Browse files
committed
Update README
1 parent 9da938b commit 8e515df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if ($user->doesntOwns($video)){}
6060
if ($user->owns($video, 'the_user_id')){}
6161
```
6262

63-
If for some reason the ownership check needs a more complex logic, you can implement the `Ownable` interface inside your ownable objects and then you can define your custom logic in the `isOwnedBy` method. When this method is called the object that called the `owns` method is passed as an attribute to the `isOwnedBy` method.
63+
If for some reason the ownership check needs a more complex logic, you can implement the `Ownable` interface inside your ownable objects and then you can define your custom logic in the `isOwnedBy` method. When this method is called, the object that called the `owns` method is passed as an attribute to the `isOwnedBy` method.
6464

6565
```php
6666
<?php

0 commit comments

Comments
 (0)