File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 2121 */
2222class Clarkson_Core {
2323
24+ /**
25+ * define $autoloader.
26+ *
27+ * @var Autoloader
28+ */
29+ public $ autoloader ;
30+
2431 /**
2532 * Initializes all neccessery objects. Is automatically called on 'init'.
2633 *
Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ class Clarkson_Object implements \JsonSerializable {
3131 */
3232 protected static $ posts ;
3333
34+ /**
35+ * define $_content.
36+ *
37+ * @var string
38+ */
39+ public $ _content ;
40+
3441 /**
3542 * Clarkson_Object constructor.
3643 *
@@ -644,6 +651,7 @@ public function has_term( $term ) {
644651 *
645652 * We can't just return $this->_post, because these values will only return raw unfiltered data.
646653 */
654+ #[\ReturnTypeWillChange]
647655 public function jsonSerialize () {
648656 $ data ['id ' ] = $ this ->get_id ();
649657 $ data ['link ' ] = $ this ->get_permalink ();
You can’t perform that action at this time.
0 commit comments