Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MissingTypeCaseSensitive;

function doFoo(string $s) {
function doFoo1(string $s) {
assertTYPe('string', $s);
}

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace MissingAssertTypeNamespace;

function doFoo(string $s) {
function doFoo1(string $s) {
assertType('string', $s);
}

2 changes: 1 addition & 1 deletion tests/PHPStan/Testing/data/assert-type-wrong-namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use function SomeWrong\Namespace\assertType;

function doFoo(string $s) {
function doFoo1(string $s) {
assertType('string', $s);
}

2 changes: 1 addition & 1 deletion tests/PHPStan/Type/MixedTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ public function testEquals(MixedType $mixedType, Type $typeToCompare, bool $expe
);
}

public function dataEquals(): array
public static function dataEquals(): array
{
return [
[
Expand Down
Loading