Skip to content

Commit 8609de5

Browse files
committedSep 25, 2020
補充 __construct 的註解。
1 parent 6c7c53e commit 8609de5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎DesignPatterns/Behavioral/NullObjectPattern/Player.php

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class Player
1313
protected NPC $npc;
1414

1515
/**
16+
* Player constructor.
1617
*
1718
* @param NPC $npc
1819
*/

‎DesignPatterns/Behavioral/NullObjectPattern/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ class Player
140140
protected NPC $npc;
141141

142142
/**
143+
* Player constructor.
143144
*
144145
* @param NPC $npc
145146
*/

0 commit comments

Comments
 (0)
Please sign in to comment.