mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
type fixes
This commit is contained in:
parent
e9f6d00a93
commit
7cb4e41f8a
7 changed files with 32 additions and 7 deletions
|
|
@ -85,7 +85,7 @@ class RawConnection {
|
|||
public function isValid(): bool {
|
||||
if (is_resource($this->process)) {
|
||||
$status = proc_get_status($this->process);
|
||||
return $status['running'];
|
||||
return (bool)$status['running'];
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue