Skip to content

Commit f242a0a

Browse files
committed
Fix linting issues
1 parent 5754de8 commit f242a0a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/PHPEncoder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)