Skip to content

Commit 27f477c

Browse files
committed
Minor PHPDocs fixes provided by PHPStan @ level 4.
1 parent ce62f7e commit 27f477c

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

src/PHPSemVerChecker/Operation/ClassMethodOperationDelta.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ public function getReason()
108108
}
109109

110110
/**
111-
* @return string
111+
* @param mixed $context
112+
* @return int
112113
*/
113114
protected function getVisibility($context)
114115
{

src/PHPSemVerChecker/Operation/ClassMethodOperationUnary.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public function getReason()
8484
}
8585

8686
/**
87-
* @return string
87+
* @param mixed $context
88+
* @return int
8889
*/
8990
protected function getVisibility($context)
9091
{

src/PHPSemVerChecker/Operation/ClassRemoved.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ClassRemoved extends Operation {
1515
*/
1616
protected $reason = 'Class was removed.';
1717
/**
18-
* @var
18+
* @var string
1919
*/
2020
protected $fileBefore;
2121
/**

src/PHPSemVerChecker/Operation/InterfaceRemoved.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class InterfaceRemoved extends Operation {
1515
*/
1616
protected $reason = 'Interface was removed.';
1717
/**
18-
* @var
18+
* @var string
1919
*/
2020
protected $fileBefore;
2121
/**

src/PHPSemVerChecker/Operation/TraitRemoved.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TraitRemoved extends Operation {
1515
*/
1616
protected $reason = 'Trait was removed.';
1717
/**
18-
* @var
18+
* @var string
1919
*/
2020
protected $fileBefore;
2121
/**

0 commit comments

Comments
 (0)