1 | <?php |
||||||||
2 | /** |
||||||||
3 | * @author: jiangyi |
||||||||
4 | * @date: 下午5:26 2018/11/28 |
||||||||
5 | */ |
||||||||
6 | |||||||||
7 | namespace Hello; |
||||||||
8 | |||||||||
9 | class Observer |
||||||||
10 | { |
||||||||
11 | public function update($argument) |
||||||||
0 ignored issues
–
show
|
|||||||||
12 | { |
||||||||
13 | // 做点什么。 |
||||||||
14 | } |
||||||||
15 | |||||||||
16 | public function reportError($errorCode, $errorMessage, Subject $subject) |
||||||||
0 ignored issues
–
show
The parameter
$errorMessage is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$errorCode is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$subject is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||
17 | { |
||||||||
18 | // 做点什么。 |
||||||||
19 | } |
||||||||
20 | } |
||||||||
21 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.