Skip to content

Commit

Permalink
Revert "Test Psalm type improvements"
Browse files Browse the repository at this point in the history
This reverts commit bbacd2e.
  • Loading branch information
caendesilva committed Jul 31, 2024
1 parent bbacd2e commit a5a6178
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions packages/framework/src/Hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,19 @@
*/
class Hyde extends Facade
{
/**
* @psalm-return non-empty-string
*/
public static function version(): string
{
return HydeKernel::version();
}

/**
* @psalm-return HydeKernel
*/
public static function getFacadeRoot(): HydeKernel
{
return HydeKernel::getInstance();
}

/**
* @psalm-return HydeKernel
*/
#[Pure]
public static function kernel(): HydeKernel
{
return HydeKernel::getInstance();
}

/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor(): string
{
return 'hyde';
}
}

0 comments on commit a5a6178

Please sign in to comment.