These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Kunstmaan\AdminListBundle\AdminList\Configurator; |
||
4 | |||
5 | use Symfony\Component\HttpFoundation\Request; |
||
6 | |||
7 | /** |
||
8 | * Interface ChangeableLimitInterface |
||
9 | */ |
||
10 | interface ChangeableLimitInterface |
||
11 | { |
||
12 | /** |
||
13 | * Bind current request. |
||
14 | * |
||
15 | * @param Request $request |
||
16 | */ |
||
17 | public function bindRequest(Request $request); |
||
0 ignored issues
–
show
|
|||
18 | |||
19 | /** |
||
20 | * @return int |
||
21 | */ |
||
22 | public function getLimit(); |
||
23 | |||
24 | /** |
||
25 | * @return array |
||
26 | */ |
||
27 | public function getLimitOptions(); |
||
28 | } |
||
29 |
For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a
@return
doc comment to communicate to implementors of these methods what they are expected to return.