File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public function toArray()
167
167
/**
168
168
* @inheritDoc
169
169
*/
170
- public function jsonSerialize ()
170
+ public function jsonSerialize (): array
171
171
{
172
172
try {
173
173
$ this ->prepareEncoder ();
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function getResourceMeta()
87
87
*/
88
88
private function cacheMeta (): void
89
89
{
90
- if (is_null ( $ this ->meta ) ) {
90
+ if (null === $ this ->meta ) {
91
91
$ this ->meta = Json::hash (parent ::getResourceMeta ());
92
92
}
93
93
}
@@ -99,7 +99,7 @@ private function cacheMeta(): void
99
99
*/
100
100
private function cacheIdentifierMeta (): void
101
101
{
102
- if (is_null ( $ this ->identifierMeta ) ) {
102
+ if (null === $ this ->identifierMeta ) {
103
103
$ this ->identifierMeta = Json::hash (parent ::getIdentifierMeta ());
104
104
}
105
105
}
You can’t perform that action at this time.
0 commit comments