Skip to content

Commit ccf1cab

Browse files
authored
Merge pull request #98 from gp-lnuff/master
change add and subtract return type for static analysis
2 parents 50c281e + 4d00f0f commit ccf1cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/PhysicalQuantityInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __toString();
4040
*
4141
* @throws \PhpUnitsOfMeasure\Exception\PhysicalQuantityMismatch when there is a mismatch between physical quantities
4242
*
43-
* @return PhysicalQuantityInterface the new quantity
43+
* @return static the new quantity
4444
*/
4545
public function add(PhysicalQuantityInterface $quantity);
4646

@@ -55,7 +55,7 @@ public function add(PhysicalQuantityInterface $quantity);
5555
*
5656
* @throws \PhpUnitsOfMeasure\Exception\PhysicalQuantityMismatch when there is a mismatch between physical quantities
5757
*
58-
* @return PhysicalQuantityInterface the new quantity
58+
* @return static the new quantity
5959
*/
6060
public function subtract(PhysicalQuantityInterface $quantity);
6161

0 commit comments

Comments
 (0)