Skip to content

Commit

Permalink
[TASK] Avoid using superfluous ASSERT_INTERNAL_INVOCATION
Browse files Browse the repository at this point in the history
Related: #35
  • Loading branch information
ohader committed May 13, 2019
1 parent 3925aa2 commit b4f0499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolver/PharInvocationResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class PharInvocationResolver implements Resolvable
public function resolve(string $path, int $flags = null)
{
$hasPharPrefix = Helper::hasPharPrefix($path);
$flags = $flags ?? static::RESOLVE_REALPATH | static::RESOLVE_ALIAS | static::ASSERT_INTERNAL_INVOCATION;
$flags = $flags ?? static::RESOLVE_REALPATH | static::RESOLVE_ALIAS;

if ($hasPharPrefix && $flags & static::RESOLVE_ALIAS) {
$invocation = $this->findByAlias($path);
Expand Down

0 comments on commit b4f0499

Please sign in to comment.