mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
enforce code style with php-cs in travis
This commit is contained in:
parent
350e19c285
commit
83cea01c56
4 changed files with 5 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ class NativeFileInfo implements IFileInfo {
|
|||
|
||||
if (is_array($stat)) {
|
||||
$this->statCache = $stat;
|
||||
} else if (is_callable($stat)) {
|
||||
} elseif (is_callable($stat)) {
|
||||
$this->statCallback = $stat;
|
||||
} else {
|
||||
throw new \InvalidArgumentException('$stat needs to be an array or callback');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue