Skip to content

Commit

Permalink
laravel 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
igaster committed Aug 18, 2017
1 parent cd6a7f8 commit f90c8d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"illuminate/contracts": "5.4.*"
"illuminate/contracts": "5.4.*|5.5.*"
},
"require-dev": {
"orchestra/testbench": "~3.4",
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/installPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function handle() {
exec("mv {$this->tempPath}/views $viewsPath");

// Remove 'theme-views' from theme.json
$themeJson->unset('views-path');
$themeJson->remove('views-path');
$themeJson->saveToFile("$viewsPath/theme.json");
$this->info("Theme views installed to path [$viewsPath]");
}
Expand Down
2 changes: 1 addition & 1 deletion src/themeManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function set($key, $value){
$this->data[$key] = $value;
}

public function unset($key){
public function remove($key){
if(isset($this->data[$key])){
unset($this->data[$key]);
}
Expand Down

0 comments on commit f90c8d1

Please sign in to comment.