File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 "php" : " >=7.1" ,
1919 "ext-pdo" : " *" ,
2020 "nette/caching" : " ^3.0" ,
21- "nette/utils" : " ^2.4 || ^ 3.0"
21+ "nette/utils" : " ^3.0"
2222 },
2323 "require-dev" : {
2424 "nette/tester" : " ^2.0" ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Row extends Nette\Utils\ArrayHash implements IRow
1919{
2020 public function __get ($ key )
2121 {
22- $ hint = Nette \Utils \ObjectMixin ::getSuggestion (array_keys ((array ) $ this ), $ key );
22+ $ hint = Nette \Utils \ObjectHelpers ::getSuggestion (array_map ( ' strval ' , array_keys ((array ) $ this ) ), $ key );
2323 throw new Nette \MemberAccessException ("Cannot read an undeclared column ' $ key' " . ($ hint ? ", did you mean ' $ hint'? " : '. ' ));
2424 }
2525
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ public function &__get(string $key)
277277 }
278278
279279 $ this ->removeAccessColumn ($ key );
280- $ hint = Nette \Utils \ObjectMixin ::getSuggestion (array_keys ($ this ->data ), $ key );
280+ $ hint = Nette \Utils \ObjectHelpers ::getSuggestion (array_keys ($ this ->data ), $ key );
281281 throw new Nette \MemberAccessException ("Cannot read an undeclared column ' $ key' " . ($ hint ? ", did you mean ' $ hint'? " : '. ' ));
282282 }
283283
You can’t perform that action at this time.
0 commit comments