Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class Table extends \Bluz\Db\Table |
||
23 | { |
||
24 | /** |
||
25 | * Table |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $name = 'media'; |
||
30 | |||
31 | /** |
||
32 | * Primary key(s) |
||
33 | * @var array |
||
34 | */ |
||
35 | protected $primary = ['id']; |
||
36 | |||
37 | /** |
||
38 | * Get images of current user |
||
39 | * |
||
40 | * @return Row[] |
||
41 | * @throws Exception |
||
42 | */ |
||
43 | public function getImages() |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Get images by owner |
||
55 | * |
||
56 | * @param integer $id |
||
57 | * @return Row[] |
||
58 | */ |
||
59 | public function getImagesByUserId($id) |
||
67 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths