1 | <?php |
||
8 | class LocalGitRepository implements SourceCodeProviderInterface |
||
9 | { |
||
10 | /** |
||
11 | * Gets the list of potentially broken customizations (changed and deleted files) |
||
12 | * |
||
13 | * @param Upgrade $context |
||
14 | * |
||
15 | * @return mixed |
||
|
|||
16 | * @throws WrongProviderException |
||
17 | */ |
||
18 | public function getPotentiallyBrokenCustomizations(Upgrade $context) |
||
22 | |||
23 | /** |
||
24 | * Gets the lists of upgrade steps for the given source |
||
25 | * |
||
26 | * @param Upgrade $context |
||
27 | * |
||
28 | * @return mixed |
||
29 | * @throws WrongProviderException |
||
30 | */ |
||
31 | public function getUpgradeSteps(Upgrade $context) |
||
35 | } |
||
36 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.