Skip to content

Commit ba8e102

Browse files
committed
Document deprecations.
1 parent 08b12e6 commit ba8e102

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Matrix.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static function identity($size)
120120
* @param Matrix|int|float $value Matrix or scalar to add to this matrix
121121
* @return Matrix
122122
* @throws MatrixException
123-
* @deprecated
123+
* @deprecated Use `addMatrix` or `addScalar` instead.
124124
*/
125125
public function add($value)
126126
{
@@ -226,7 +226,7 @@ public function isSquare()
226226
* @param Matrix|int|float $value Matrix or scalar to multiply with this matrix
227227
* @return Matrix
228228
* @throws MatrixException
229-
* @deprecated
229+
* @deprecated Use `multiplyMatrix` or `multiplyScalar` instead.
230230
*/
231231
public function multiply($value)
232232
{
@@ -609,7 +609,7 @@ public function submatrix($row = null, $column = null)
609609
* @param Matrix|int|float $value Matrix or scalar to subtract from this matrix
610610
* @return Matrix
611611
* @throws MatrixException
612-
* @deprecated
612+
* @deprecated Use `subtractMatrix` or `subtractScalar` instead.
613613
*/
614614
public function subtract($value)
615615
{

0 commit comments

Comments
 (0)