There was an error while loading. Please reload this page.
1 parent 217b805 commit 6de9cb2Copy full SHA for 6de9cb2
2 files changed
tests/TypeChecking/OopInheritanceTest.php
@@ -60,6 +60,7 @@
60
expect($child->logMessage(10, 'boot'))->toBe('log_10_boot');
61
62
expect(fn () => $child->logMessage(-5, 'boot'))
63
- ->toThrow(TypeError::class, 'positive-int');
+ ->toThrow(TypeError::class, 'positive-int')
64
+ ;
65
});
66
tests/Unit/TypePHPTest.php
@@ -125,6 +125,7 @@ class MultiTemplateDictionary
125
$producer = new Producer(new Dog());
126
127
expect(TypePHP::getGenericVariance($producer))->toBe('covariant')
128
- ->and(TypePHP::getGenericVariances($producer))->toBe(['T' => 'covariant']);
+ ->and(TypePHP::getGenericVariances($producer))->toBe(['T' => 'covariant'])
129
130
131
0 commit comments