Skip to content

Commit 9b9c1df

Browse files
authored
Merge pull request #279 from level-level/fix/0.5/php8-deprecations
Define object properties
2 parents dd8ff5e + 8297ac3 commit 9b9c1df

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

clarkson-core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
class Clarkson_Core {
2323

2424
/**
25-
* @var Autoloader
25+
* @var Clarkson_Core_Autoloader
2626
*/
2727
public $autoloader;
2828

wordpress-objects/Clarkson_Object.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ class Clarkson_Object implements \JsonSerializable {
3636
*/
3737
public $_content;
3838

39+
/**
40+
* @var string
41+
*/
42+
public $_excerpt;
43+
3944
/**
4045
* Clarkson_Object constructor.
4146
*

wordpress-objects/Clarkson_User.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class Clarkson_User {
2323
*/
2424
protected static $users;
2525

26+
public $_id;
27+
public $_user;
28+
2629
/**
2730
* Get the current logged in user.
2831
*

0 commit comments

Comments
 (0)