File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,12 +108,12 @@ public function setOption($option, $value)
108108 */
109109 private function isValidOption ($ option )
110110 {
111- if (array_key_exists ($ option , $ this ->options )) {
111+ if (\ array_key_exists ($ option , $ this ->options )) {
112112 return true ;
113113 }
114114
115115 foreach ($ this ->encoders as $ encoder ) {
116- if (array_key_exists ($ option , $ encoder ->getDefaultOptions ())) {
116+ if (\ array_key_exists ($ option , $ encoder ->getDefaultOptions ())) {
117117 return true ;
118118 }
119119 }
@@ -150,7 +150,7 @@ public function getAllOptions(array $overrides = [])
150150 }
151151
152152 foreach ($ overrides as $ name => $ value ) {
153- if (!array_key_exists ($ name , $ options )) {
153+ if (!\ array_key_exists ($ name , $ options )) {
154154 throw new InvalidOptionException (sprintf ("Invalid encoder option '%s' " , $ name ));
155155 }
156156
You can’t perform that action at this time.
0 commit comments