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 decoded()
167167 return $ this ->decoded ;
168168 }
169169
170- if ('' === trim ($ this ->source )) {
170+ if ('' === \ trim ($ this ->source )) {
171171 return null ;
172172 }
173173
Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ public function scalarChildAssertionProvider(): iterable
125125 {
126126 yield ['{"foo":{"bar":"baz"}} ' , 'noop ' , function (Json $ json ) {$ json ->isNull (); }];
127127 yield ['{"foo":{"bar":"baz"}} ' , 'foo.bar ' , function (Json $ json ) {$ json ->isNotEmpty ()->equals ('baz ' ); }];
128- yield ['{"hydra:totalItems":0} ' , '"hydra:totalItems" ' , function (Json $ json ) {$ json ->is (0 );}];
129- yield ['{"hydra":{"totalItems":0}} ' , 'hydra.totalItems ' , function (Json $ json ) {$ json ->is (0 );}];
128+ yield ['{"hydra:totalItems":0} ' , '"hydra:totalItems" ' , function (Json $ json ) {$ json ->is (0 ); }];
129+ yield ['{"hydra":{"totalItems":0}} ' , 'hydra.totalItems ' , function (Json $ json ) {$ json ->is (0 ); }];
130130 }
131131
132132 /**
You can’t perform that action at this time.
0 commit comments