Skip to content

Commit

Permalink
Merge branch 'master' into 2.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 5, 2024
2 parents b8a0ded + eeda9f7 commit 20078cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/framework/src/Foundation/HydeKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public function hasFeature(Feature $feature): bool
public function toArray(): array
{
return [
'version' => self::VERSION,
'basePath' => $this->basePath,
'sourceRoot' => $this->sourceRoot,
'outputDirectory' => $this->outputDirectory,
Expand Down
1 change: 1 addition & 0 deletions packages/framework/tests/Feature/HydeKernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ public function testPathToRelativeHelperReturnsRelativePathForGivenPath()
public function testToArrayMethod()
{
$this->assertSame([
'version' => Hyde::version(),
'basePath' => Hyde::getBasePath(),
'sourceRoot' => Hyde::getSourceRoot(),
'outputDirectory' => Hyde::getOutputDirectory(),
Expand Down

0 comments on commit 20078cb

Please sign in to comment.