Skip to content

Commit 6de9cb2

Browse files
committed
improve code lintng
1 parent 217b805 commit 6de9cb2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

tests/TypeChecking/OopInheritanceTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
expect($child->logMessage(10, 'boot'))->toBe('log_10_boot');
6161

6262
expect(fn () => $child->logMessage(-5, 'boot'))
63-
->toThrow(TypeError::class, 'positive-int');
63+
->toThrow(TypeError::class, 'positive-int')
64+
;
6465
});
6566
});

tests/Unit/TypePHPTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ class MultiTemplateDictionary
125125
$producer = new Producer(new Dog());
126126

127127
expect(TypePHP::getGenericVariance($producer))->toBe('covariant')
128-
->and(TypePHP::getGenericVariances($producer))->toBe(['T' => 'covariant']);
128+
->and(TypePHP::getGenericVariances($producer))->toBe(['T' => 'covariant'])
129+
;
129130
});
130131
});

0 commit comments

Comments
 (0)