File tree Expand file tree Collapse file tree 4 files changed +7
-11
lines changed Expand file tree Collapse file tree 4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 5656 with :
5757 repository : " phpstan/build-cs"
5858 path : " build-cs"
59- ref : " 1 .x"
59+ ref : " 2 .x"
6060
6161 - name : " Install PHP"
6262 uses : " shivammathur/setup-php@v2"
Original file line number Diff line number Diff line change 1313.PHONY : cs-install
1414cs-install :
1515 git clone https://github.com/phpstan/build-cs.git || true
16- git -C build-cs fetch origin && git -C build-cs reset --hard origin/1 .x
16+ git -C build-cs fetch origin && git -C build-cs reset --hard origin/2 .x
1717 composer install --working-dir build-cs
1818
1919.PHONY : cs
Original file line number Diff line number Diff line change 1515class DibiFluentMethodReflection implements MethodReflection
1616{
1717
18- /** @var string */
19- private $ name ;
18+ private string $ name ;
2019
21- /** @var ClassReflection */
22- private $ dibiFluent ;
20+ private ClassReflection $ dibiFluent ;
2321
2422 public function __construct (string $ name , ClassReflection $ dibiFluent )
2523 {
@@ -68,7 +66,7 @@ public function getVariants(): array
6866 TemplateTypeMap::createEmpty (),
6967 [],
7068 true ,
71- new ObjectType ('Dibi\Fluent ' )
69+ new ObjectType ('Dibi\Fluent ' ),
7270 ),
7371 ];
7472 }
Original file line number Diff line number Diff line change 1212class DibiFluentClassReflectionExtensionTest extends PHPStanTestCase
1313{
1414
15- /** @var Broker */
16- private $ broker ;
15+ private Broker $ broker ;
1716
18- /** @var DibiFluentClassReflectionExtension */
19- private $ extension ;
17+ private DibiFluentClassReflectionExtension $ extension ;
2018
2119 protected function setUp (): void
2220 {
You can’t perform that action at this time.
0 commit comments