Skip to content

Commit d0e5bd6

Browse files
Ivan Peevskichriskacerguis
authored andcommitted
Fix style
1 parent 8ab48d5 commit d0e5bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RestController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ public function response($data = null, $http_code = null, $continue = false)
639639
$formatter = null;
640640
if ($this->format && method_exists($this->format, 'to_'.$this->response->format)) {
641641
$formatter = $this->format::factory($data);
642-
} else if (method_exists(Format::class, 'to_'.$this->response->format)) {
642+
} elseif (method_exists(Format::class, 'to_'.$this->response->format)) {
643643
$formatter = Format::factory($data);
644644
}
645645

0 commit comments

Comments
 (0)