aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 14:04:31 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 14:04:31 +0100
commitb20c5a19d89390afed66eccc3f023a1951a68791 (patch)
treebcf5a8b05ea2945f24c2dc9454e55b68278a9274
parentb8eb890820b9d430d4103b6ba6b00e91bb676064 (diff)
downloadProtocol-b20c5a19d89390afed66eccc3f023a1951a68791.zip
Protocol-b20c5a19d89390afed66eccc3f023a1951a68791.tar.gz
Protocol-b20c5a19d89390afed66eccc3f023a1951a68791.tar.bz2
fix(wrapper) Fix type when calling `fopen`.
-rw-r--r--Source/Wrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Wrapper.php b/Source/Wrapper.php
index 70d7dd8..7c4f807 100644
--- a/Source/Wrapper.php
+++ b/Source/Wrapper.php
@@ -211,7 +211,7 @@ class Wrapper
$openedPath = fopen(
$path,
$mode,
- $options & STREAM_USE_PATH,
+ (bool) ($options & STREAM_USE_PATH),
$this->context
);
}