Skip to content

Commit

Permalink
Improve return type
Browse files Browse the repository at this point in the history
  • Loading branch information
donatj committed Oct 29, 2023
1 parent 89f4ebd commit 16a49d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MockWebServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ private function isWindowsPlatform() : bool {
}

/**
* @return array [resource, resource[]]
* @return array{resource, resource[]}
*/
private function startServer( string $fullCmd ) {
private function startServer( string $fullCmd ) : array {
if( !$this->isWindowsPlatform() ) {
// We need to prefix exec to get the correct process http://php.net/manual/ru/function.proc-get-status.php#93382
$fullCmd = 'exec ' . $fullCmd;
Expand Down

0 comments on commit 16a49d6

Please sign in to comment.