Skip to content

Commit f673a06

Browse files
maartenpaauwlindyhopchris
authored andcommitted
Update non-eloquent.md
use `server()` and `schema()` methods instead of `server` and `schema` property. This because, `withSchema` and `withServer` methods don't accept null as parameter.
1 parent 4025ea8 commit f673a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 3.0/digging-deeper/non-eloquent.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,8 @@ class SiteRepository extends AbstractRepository implements QueriesAll
639639
public function queryAll(): Capabilities\QuerySites
640640
{
641641
return Capabilities\QuerySites::make()
642-
->withServer($this->server)
643-
->withSchema($this->schema);
642+
->withServer($this->server())
643+
->withSchema($this->schema());
644644
}
645645

646646
}

0 commit comments

Comments
 (0)