10000 Merge tag 'v0.5.3' into develop · GIANTCRAB/laravel-json-api@e81937c · GitHub
[go: up one dir, main page]

Skip to content

Commit e81937c

Browse files
committed
Merge tag 'v0.5.3' into develop
Fix PHP 5.5 bug in abstract generator
2 parents 2b8d31e + e898c67 commit e81937c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file. This project adheres to
33
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
44

5+
## [0.5.3] - 2016-12-01
6+
7+
### Fixed
8+
- #31 Fix expression in abstract generator command that is not compatible with PHP 5.5
9+
510
## [0.5.2] - 2016-11-11
611

712
### Added

src/Console/Commands/AbstractGeneratorCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ abstract class AbstractGeneratorCommand extends GeneratorCommand
8585
*
8686
* @var string
8787
*/
88-
private $stubsDirectory = __DIR__ . '/../../../stubs';
88+
private $stubsDirectory;
8989

9090
/**
9191
* Create a new config clear command instance.
@@ -99,6 +99,7 @@ public function __construct(Filesystem $files)
9999
$this->useEloquent = config('json-api.generator.use-eloquent', true);
100100
$this->subNamespace = config('json-api.generator.namespace', 'JsonApi');
101101
$this->namespaceByResource = config('json-api.generator.by-resource', true);
102+
$this->stubsDirectory = __DIR__ . '/../../../stubs';
102103
}
103104

104105
/**

0 commit comments

Comments
 (0)
0