Skip to content

Commit 5780e0d

Browse files
committed
fix typo
1 parent 56fe127 commit 5780e0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Jsonq.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ public function __construct($jsonFile = null)
2424
{
2525
if (!is_null($jsonFile)) {
2626
$path = pathinfo($jsonFile);
27-
$extansion = isset($path['extension']) ? $path['extension'] : null;
27+
$extension = isset($path['extension']) ? $path['extension'] : null;
2828

29-
if ($extansion != 'json') {
29+
if ($extension != 'json') {
3030
throw new InvalidJsonException();
3131
}
3232

0 commit comments

Comments
 (0)