@@ -118,7 +118,7 @@ |
||
118 | 118 | * |
119 | 119 | * @param string $property |
120 | 120 | * |
121 | - * @return mixed |
|
121 | + * @return string |
|
122 | 122 | * |
123 | 123 | * @throws \OutOfBoundsException |
124 | 124 | */ |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * @param \ComponentManager\Project\ProjectLockFile $projectLockFile |
72 | 72 | * @param \ComponentManager\PackageRepository\PackageRepositoryFactory $packageRepositoryFactory |
73 | 73 | * @param \ComponentManager\PackageSource\PackageSourceFactory $packageSourceFactory |
74 | - * @param \ComponentManager\PackageSource\PackageFormatFactory $packageFormatFactory |
|
74 | + * @param PackageFormatFactory $packageFormatFactory |
|
75 | 75 | */ |
76 | 76 | public function __construct(ProjectFile $projectFile, |
77 | 77 | ProjectLockFile $projectLockFile, |
@@ -38,8 +38,6 @@ |
||
38 | 38 | /** |
39 | 39 | * Initialiser. |
40 | 40 | * |
41 | - * @param \ComponentManager\MoodleVersion $version |
|
42 | - * @param \Psr\Log\LoggerInterface $logger |
|
43 | 41 | * @param string $archive |
44 | 42 | * @param string $destination |
45 | 43 | */ |
@@ -29,6 +29,7 @@ |
||
29 | 29 | * @param \Symfony\Component\Filesystem\Filesystem $filesystem |
30 | 30 | * @param \ComponentManager\Platform\Platform $platform |
31 | 31 | * @param \stdClass $options |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function __construct(Filesystem $filesystem, Platform $platform, |
34 | 35 | stdClass $options); |
@@ -94,6 +94,7 @@ |
||
94 | 94 | |
95 | 95 | /** |
96 | 96 | * @override \ComponentManager\Platform\Platform |
97 | + * @return string |
|
97 | 98 | */ |
98 | 99 | public function getPhpScript() { |
99 | 100 | return $_SERVER['argv'][0]; |
@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | * Initialiser. |
23 | 23 | * |
24 | 24 | * @param \Symfony\Component\Filesystem\Filesystem $filesystem |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function __construct(Filesystem $filesystem); |
27 | 28 | |
@@ -64,7 +65,7 @@ discard block |
||
64 | 65 | /** |
65 | 66 | * Get the user's home directory. |
66 | 67 | * |
67 | - * @return mixed |
|
68 | + * @return string |
|
68 | 69 | */ |
69 | 70 | public function getHomeDirectory(); |
70 | 71 |