@@ -159,7 +159,7 @@ |
||
| 159 | 159 | |
| 160 | 160 | /** |
| 161 | 161 | * Get a list of package item objects |
| 162 | - * @return PackageItem[] |
|
| 162 | + * @return \Generator |
|
| 163 | 163 | */ |
| 164 | 164 | public function all() |
| 165 | 165 | { |
@@ -3,10 +3,10 @@ |
||
| 3 | 3 | namespace Buttress\Concrete\Service\Package\Driver; |
| 4 | 4 | |
| 5 | 5 | use Buttress\Concrete\Client\Connection\Connection; |
| 6 | +use Buttress\Concrete\Exception\RuntimeException; |
|
| 6 | 7 | use Buttress\Concrete\Service\Package\PackageItem; |
| 7 | 8 | use Buttress\Concrete\Service\Package\PackageItemFactory; |
| 8 | 9 | use Buttress\Concrete\Service\Result; |
| 9 | -use Buttress\Concrete\Exception\RuntimeException; |
|
| 10 | 10 | use Concrete\Core\Error\ErrorList\ErrorList; |
| 11 | 11 | use Concrete\Core\Foundation\ClassLoader; |
| 12 | 12 | use Concrete\Core\Package\BrokenPackage; |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Buttress\Concrete\Service\Package; |
| 4 | 4 | |
| 5 | +use Buttress\Concrete\Locator\Site; |
|
| 5 | 6 | use Buttress\Concrete\Service\Package\Driver\LegacyDriver; |
| 6 | 7 | use Buttress\Concrete\Service\Package\Driver\ModernDriver; |
| 7 | -use Buttress\Concrete\Locator\Site; |
|
| 8 | 8 | use Psr\Container\ContainerInterface; |
| 9 | 9 | |
| 10 | 10 | class DriverFactory |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * @return success |
|
| 23 | + * @return boolean |
|
| 24 | 24 | */ |
| 25 | 25 | public function success() |
| 26 | 26 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | $this->success = (bool) $success; |
| 19 | - $this->errors = (array)$errors; |
|
| 19 | + $this->errors = (array) $errors; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | public function attach() |
| 40 | 40 | { |
| 41 | - $connection = new ModernConnection(); |
|
| 41 | + $connection = new ModernConnection(); |
|
| 42 | 42 | $connection->connect($this->resolveApplication()); |
| 43 | 43 | |
| 44 | 44 | return $connection; |