Skip to content

Commit 0569a96

Browse files
compwrightForestry.io
authored andcommitted
Update from Forestry.io
jhill9693@gmail.com updated _posts/2019-10-23-diy-php-dependency-injection-in-10-lines.md
1 parent 7c00981 commit 0569a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2019-10-23-diy-php-dependency-injection-in-10-lines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ Explanation:
5151
* **Lines 3-8:** inspect the method and get a simple array of parameter names that the method needs, in the correct order
5252
* **Line 9:** compile an array of only those variables required to satisfy the method parameters, in the correct order, from the local scope variables created at line 2.
5353

54-
Side note: I really enjoy PHP's `[compact()](https://www.php.net/compact)`. I'm surprised I don't see more developers using it.
54+
Side note: I really enjoy PHP's [compact](https://www.php.net/compact) function. I'm surprised I don't see more developers using it.

0 commit comments

Comments
 (0)