Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

Apply fixes from StyleCI #21

Open
wants to merge 1 commit into
base: upgrade-laravel8
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/HashData.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ class HashData
* Encode ID.
*
* @param $key
* @param null $baseKey
* @param null $baseKey
* @return mixed
*
* @throws \Exception
*/
public static function Encode($key, $baseKey)
Expand All @@ -25,8 +26,9 @@ public static function Encode($key, $baseKey)
* Decode ID.
*
* @param $key
* @param null $baseKey
* @param null $baseKey
* @return mixed
*
* @throws \Exception
*/
public static function Decode($key, $baseKey = null)
Expand All @@ -43,8 +45,9 @@ public static function Decode($key, $baseKey = null)
/**
* Get length.
*
* @throws \Exception
* @return int
*
* @throws \Exception
*/
private static function getLength(): int
{
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function setUp(): void
/**
* Set up the environment.
*
* @param \Illuminate\Foundation\Application $app
* @param \Illuminate\Foundation\Application $app
*/
protected function getEnvironmentSetUp($app)
{
Expand All @@ -40,7 +40,7 @@ protected function getEnvironmentSetUp($app)
/**
* Set up the database.
*
* @param \Illuminate\Foundation\Application $app
* @param \Illuminate\Foundation\Application $app
*/
protected function setUpDatabase($app)
{
Expand Down