Skip to content
This repository was archived by the owner on Dec 17, 2020. It is now read-only.

Commit 26c1bb5

Browse files
committed
Fix simple mistake in example
1 parent 3cfa764 commit 26c1bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/reference/di.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ Once a service is registered in the service container, you can retrieve it to ma
817817
});
818818
819819
//Change it to shared
820-
$request->setShared(true);
820+
$requestService->setShared(true);
821821
822822
//Resolve the service (return a Phalcon\Http\Request instance)
823823
$request = $requestService->resolve();

0 commit comments

Comments
 (0)