Completed
Push — master ( 06c1ce...67d37c )
by Jeroen
06:20
created

AdminList/FilterType/FilterTypeInterface.php (2 issues)

Upgrade to new PHP Analysis Engine

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\FilterType;
4
5
use Symfony\Component\HttpFoundation\Request;
6
7
/**
8
 * FilterTypeInterface
9
 */
10
interface FilterTypeInterface
11
{
12
    /**
13
     * @param Request $request  The request
14
     * @param array   &$data    The data
15
     * @param string  $uniqueId The unique identifier
16
     */
17
    public function bindRequest(Request $request, array &$data, $uniqueId);
0 ignored issues
show
For interfaces and abstract methods it is generally a good practice to add a @return annotation even if it is just @return void or @return null, so that implementors know what to do in the overridden method.

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.

Loading history...
18
19
    /**
20
     * @param array  $data     Data
21
     * @param string $uniqueId The identifier
22
     */
23
    public function apply(array $data, $uniqueId);
0 ignored issues
show
For interfaces and abstract methods it is generally a good practice to add a @return annotation even if it is just @return void or @return null, so that implementors know what to do in the overridden method.

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.

Loading history...
24
25
    /**
26
     * @return string
27
     */
28
    public function getTemplate();
29
}
30