Skip to content

Commit cd0f3cc

Browse files
committed
csfixed
1 parent b76fbcd commit cd0f3cc

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

src/commands/AbstractPackageCommand.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,14 @@ public function __construct(AssetPackage $package, PackageRepository $packageRep
6666
$this->package = $package;
6767
$this->packageRepository = $packageRepository;
6868
}
69-
69+
7070
/**
71-
* Serialize only the name of package for more performance
71+
* Serialize only the name of package for more performance.
7272
*
7373
* @void
7474
*/
75-
public function __sleep() {
75+
public function __sleep()
76+
{
7677
return ['fullName'];
7778
}
7879

@@ -83,7 +84,7 @@ public function __sleep() {
8384
*/
8485
public function __wakeup()
8586
{
86-
if($this->fullName){
87+
if ($this->fullName) {
8788
$this->package = AssetPackage::fromFullName($this->fullName);
8889
}
8990
$this->package->load();

src/menus/NavbarMenu.php

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
namespace hiqdev\assetpackagist\menus;
1212

13-
use Yii;
14-
1513
/**
1614
* Navbar menu.
1715
* @author Andrii Vasyliev <sol@hiqdev.com>

src/registry/RegistryFactory.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class RegistryFactory extends Object
3838
];
3939

4040
/**
41-
* @var ComposerConfig
41+
* @var ComposerConfig
4242
*/
4343
public $composerConfig;
4444

@@ -48,27 +48,27 @@ class RegistryFactory extends Object
4848
public $repositoryManager;
4949

5050
/**
51-
* @var AssetConfig
51+
* @var AssetConfig
5252
*/
5353
public $assetConfig;
5454

5555
/**
56-
* @var RootPackage
56+
* @var RootPackage
5757
*/
5858
public $rootPackage;
5959

6060
/**
61-
* @var InstallationManager
61+
* @var InstallationManager
6262
*/
6363
public $installationManager;
6464

6565
/**
66-
* @var VcsPackageFilter
66+
* @var VcsPackageFilter
6767
*/
6868
public $packageFilter;
6969

7070
/**
71-
* @var AssetRepositoryManager
71+
* @var AssetRepositoryManager
7272
*/
7373
public $assetRepositoryManager;
7474

src/views/package/search.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* @var yii\web\View $this
4+
* @var yii\web\View
55
* @var string $query the search query that was submitted
66
* @var \hiqdev\assetpackagist\models\AssetPackage $package
77
* @var bool $forceUpdate Whether the application must force package update

src/views/site/about.php

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22

33
/** @var yii\web\View $this */
4-
54
$this->title = 'About';
65
$this->params['subtitle'] = 'Composer + Bower + NPM = friends forever!';
76
$this->params['breadcrumbs'][] = $this->title;

0 commit comments

Comments
 (0)