Skip to content

Commit

Permalink
strict type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
milux committed Nov 7, 2016
1 parent 330ead0 commit 7395c87
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -261,7 +261,7 @@ public function download()
}
// Remove protocol, path and query string from URL
$basename = basename($packageURL);
if (strpos($basename, '?'))
if (strpos($basename, '?') !== false)
{
$basename = substr($basename , 0, strpos($basename, '?'));
}
Expand Down

0 comments on commit 7395c87

Please sign in to comment.