Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 12, 2023
1 parent 2eb084d commit 96b4fff
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/Contracts/GeneratesCodeListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ interface GeneratesCodeListener
{
/**
* Code already exists.
*
* @return mixed
*/
public function codeAlreadyExists(string $className);

Check failure on line 10 in src/Contracts/GeneratesCodeListener.php

View workflow job for this annotation

GitHub Actions / PHP8.1 on ubuntu-latest (highest)

Method Orchestra\Canvas\Core\Contracts\GeneratesCodeListener::codeAlreadyExists() has no return type specified.

Expand All @@ -18,8 +16,6 @@ public function generatingCode(string $stub, string $className): string;

/**
* Code successfully generated.
*
* @return mixed
*/
public function codeHasBeenGenerated(string $className);

Check failure on line 20 in src/Contracts/GeneratesCodeListener.php

View workflow job for this annotation

GitHub Actions / PHP8.1 on ubuntu-latest (highest)

Method Orchestra\Canvas\Core\Contracts\GeneratesCodeListener::codeHasBeenGenerated() has no return type specified.

Expand Down
1 change: 0 additions & 1 deletion src/Presets/Preset.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function is(string $name): bool
* Get configuration.
*
* @param mixed|null $default
* @return mixed
*/
public function config(?string $key = null, $default = null)

Check failure on line 37 in src/Presets/Preset.php

View workflow job for this annotation

GitHub Actions / PHP8.1 on ubuntu-latest (highest)

Method Orchestra\Canvas\Core\Presets\Preset::config() has no return type specified.
{
Expand Down
3 changes: 0 additions & 3 deletions src/TestGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ trait TestGenerator
{
/**
* Create the matching test case if requested.
*
* @param string $path
* @return bool
*/
protected function handleTestCreationUsingCanvas(string $path): bool
{
Expand Down

0 comments on commit 96b4fff

Please sign in to comment.