Skip to content

Commit

Permalink
fix warning from static analyzers
Browse files Browse the repository at this point in the history
  • Loading branch information
sj-i committed Jul 31, 2020
1 parent 99f30de commit cc85439
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
namespace PhpProfiler\Inspector\Daemon\Searcher\Context;

use Amp\Promise;
use PhpProfiler\Inspector\Daemon\Dispatcher\Message\UpdateTargetProcessMessage;

interface PhpSearcherContextInterface
{
Expand All @@ -33,4 +34,4 @@ public function sendTargetRegex(string $regex): Promise;
* @psalm-yield Promise<UpdateTargetProcessMessage>
*/
public function receivePidList(): Promise;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ public function testCreate()
PhpSearcherContextInterface::class,
$php_searcher_context_creator->create()
);
}}
}
}
1 change: 0 additions & 1 deletion tests/Inspector/Settings/TraceLoopSettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,4 @@ public function testFromConsoleInputMaxRetriesNotInteger(): void
$this->expectException(TraceLoopInspectorSettingsException::class);
$settings = TraceLoopSettings::fromConsoleInput($input);
}

}

0 comments on commit cc85439

Please sign in to comment.