Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit e4e6df7

Browse files
author
Nick Matthews
committed
Setting Birthday variables to private, moving Birthday docs link to more appropriate location
1 parent 6b59698 commit e4e6df7

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

docs/GraphNode.fbmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Returns the `link` property for the user as a string if present.
168168
~~~~
169169
public \Facebook\GraphNodes\Birthday|null getBirthday()
170170
~~~~
171-
Returns the `birthday` property for the user as a `\Facebook\GraphNodes\Birthday` if present.
171+
Returns the `birthday` property for the user as a [`Facebook\GraphNodes\Birthday`](/docs/php/Birthday) if present.
172172

173173
### getLocation() {#user-getlocation}
174174
~~~~

docs/sdk_reference.fbmd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,6 @@ Graph nodes are collections that represent nodes returned by the Graph API. And
172172
'[`Facebook\\GraphNodes\\GraphUser`](/docs/php/GraphNode#user-instance-methods)',
173173
'A collection that represents a User node.',
174174
],
175-
[
176-
'[`Facebook\\GraphNodes\\Birthday`](/docs/php/Birthday#instance-methods)',
177-
'A class that represents a GraphUser\'s birthday.',
178-
],
179175
],
180176
})
181177
</card>

src/Facebook/GraphNodes/Birthday.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ class Birthday extends DateTime
3535
/**
3636
* @var bool
3737
*/
38-
protected $hasDate = false;
38+
private $hasDate = false;
3939

4040
/**
4141
* @var bool
4242
*/
43-
protected $hasYear = false;
43+
private $hasYear = false;
4444

4545
/**
4646
* Parses Graph birthday format to set indication flags, possible values:

0 commit comments

Comments
 (0)