Skip to content

Commit

Permalink
Codestyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Apr 23, 2021
1 parent a46d5b8 commit 69e9b4d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ language: php
os: linux
dist: xenial

git:
depth: false

php:
- 7.2
- 7.3
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"require" : {
"php" : ">=7.2",

"jbzoo/utils" : "^4.3.0",
"jbzoo/utils" : "^4.4.0",
"jbzoo/path" : "^3.1.0",
"jbzoo/less" : "^4.1.0",
"jbzoo/data" : "^4.2.0"
"jbzoo/data" : "^4.2.1"
},

"require-dev" : {
"jbzoo/toolbox-dev" : "^2.10.0",
"jbzoo/toolbox-dev" : "^2.11.0",
"symfony/filesystem" : "^5.2.3"
},

Expand Down
4 changes: 2 additions & 2 deletions src/Asset/AbstractAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ abstract class AbstractAsset
* @param Manager $manager
* @param string $alias
* @param string|array $source
* @param array $dependencies
* @param array|string $dependencies
* @param Data $options
*/
public function __construct(Manager $manager, $alias, $source, $dependencies, Data $options)
public function __construct(Manager $manager, string $alias, $source, $dependencies, Data $options)
{
$this->eManager = $manager;
$this->alias = $alias;
Expand Down
1 change: 1 addition & 0 deletions src/Asset/Callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ final class Callback extends AbstractAsset
{
/**
* @var callable
* @psalm-suppress NonInvariantDocblockPropertyType
*/
protected $source;

Expand Down

0 comments on commit 69e9b4d

Please sign in to comment.