This repository was archived by the owner on Jan 30, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file, in reverse chronological order by release.
44
5+ ## 2.4.2 - TBD
6+
7+ ### Added
8+
9+ - Nothing.
10+
11+ ### Changed
12+
13+ - Nothing.
14+
15+ ### Deprecated
16+
17+ - Nothing.
18+
19+ ### Removed
20+
21+ - Nothing.
22+
23+ ### Fixed
24+
25+ - [ #106 ] ( https://github.com/zendframework/zend-hydrator/pull/106 ) fixes PHP 7.4 compatibility.
26+
527## 2.4.1 - 2018-11-19
628
729### Added
Original file line number Diff line number Diff line change @@ -85,17 +85,17 @@ public function getStrategy($name)
8585 */
8686 public function hasStrategy ($ name )
8787 {
88- if (array_key_exists ( $ name , $ this ->strategies )) {
88+ if ($ this ->strategies -> offsetExists ( $ name )) {
8989 return true ;
9090 }
9191
9292 if ($ this ->hasNamingStrategy ()
93- && array_key_exists ($ this ->getNamingStrategy ()->hydrate ($ name ), $ this -> strategies )
93+ && $ this -> strategies -> offsetExists ($ this ->getNamingStrategy ()->hydrate ($ name ))
9494 ) {
9595 return true ;
9696 }
9797
98- return array_key_exists ( ' * ' , $ this ->strategies );
98+ return $ this ->strategies -> offsetExists ( ' * ' );
9999 }
100100
101101 /**
You can’t perform that action at this time.
0 commit comments