Преглед изворни кода

Update Pest.php to use explicit nullable

Joan Miquel пре 1 година
родитељ
комит
cf2baf32fd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tests/Pest.php

+ 1 - 1
tests/Pest.php

@@ -42,7 +42,7 @@ function something()
     // ..
 }
 
-function testWithConnectionClose(Closure $closure, string $dataContains = null, $connectionClass = TcpConnection::class): void
+function testWithConnectionClose(Closure $closure, ?string $dataContains = null, $connectionClass = TcpConnection::class): void
 {
     $tcpConnection = Mockery::spy($connectionClass);
     $closure($tcpConnection);