1 | <?php |
||
26 | class IntegrationConnectionQuery extends CacheableActiveQuery |
||
27 | { |
||
28 | use AuditAttributesTrait, |
||
29 | SiteAttributeTrait; |
||
30 | |||
31 | /** |
||
32 | * @var string|string[]|null |
||
33 | */ |
||
34 | public $handle; |
||
35 | |||
36 | /** |
||
37 | * @var string|string[]|null |
||
38 | */ |
||
39 | public $class; |
||
40 | |||
41 | /** |
||
42 | * @param $value |
||
43 | * @return $this |
||
44 | */ |
||
45 | public function handle($value) |
||
50 | |||
51 | /** |
||
52 | * @param $value |
||
53 | * @return $this |
||
54 | */ |
||
55 | public function setHandle($value) |
||
59 | |||
60 | /** |
||
61 | * @param $value |
||
62 | * @return $this |
||
63 | */ |
||
64 | public function class($value) |
||
69 | |||
70 | /** |
||
71 | * @param $value |
||
72 | * @return $this |
||
73 | */ |
||
74 | public function setClass($value) |
||
78 | |||
79 | /** |
||
80 | * @inheritdoc |
||
81 | * @throws QueryAbortedException |
||
82 | */ |
||
83 | public function prepare($builder) |
||
95 | |||
96 | /** |
||
97 | * Prepares simple attributes |
||
98 | */ |
||
99 | protected function applyAttributeConditions() |
||
112 | } |
||
113 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.