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

Commit

Permalink
Styling with pint 🍺
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rubel committed Jan 3, 2023
1 parent d9a7ff8 commit a6757a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/LoopFunctionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class LoopFunctionServiceProvider extends PackageServiceProvider
* Configure the package.
*
* @param Package $package
*
* @return void
*/
public function configurePackage(Package $package): void
Expand Down
8 changes: 3 additions & 5 deletions src/Traits/HelpsLoopFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ trait HelpsLoopFunctions
* @param int|string $key
* @param mixed $value
* @param mixed|null $rescue
*
* @return void
*
* @throws \ReflectionException
*/
private function assignValue(int|string $key, mixed $value, mixed $rescue = null): void
Expand All @@ -29,8 +29,8 @@ private function assignValue(int|string $key, mixed $value, mixed $rescue = null

/**
* @param int|string $key
*
* @return bool
*
* @throws \ReflectionException
*/
private function canAssignValue(int|string $key): bool
Expand All @@ -42,7 +42,6 @@ private function canAssignValue(int|string $key): bool

/**
* @param int|string $key
*
* @return bool
*/
private function checksPropertyExists(int|string $key): bool
Expand All @@ -56,8 +55,8 @@ private function checksPropertyExists(int|string $key): bool

/**
* @param int|string $key
*
* @return bool
*
* @throws \ReflectionException
*/
private function hasDefaultValue(int|string $key): bool
Expand All @@ -70,7 +69,6 @@ private function hasDefaultValue(int|string $key): bool

/**
* @param mixed $value
*
* @return bool
*/
private function canWalkRecursively(mixed $value): bool
Expand Down
5 changes: 1 addition & 4 deletions src/Traits/LoopFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ trait LoopFunctions
*
* @param Model|\ArrayAccess|array|null $data
* @param mixed|null $rescue
*
* @return void
*/
public function propertiesFrom(Model|\ArrayAccess|array|null $data = null, mixed $rescue = null): void
Expand All @@ -34,7 +33,6 @@ public function propertiesFrom(Model|\ArrayAccess|array|null $data = null, mixed
*
* @param Model|null $model
* @param mixed $rescue
*
* @return void
*/
public function attributesToProperties(?Model $model = null, mixed $rescue = null): void
Expand All @@ -55,7 +53,6 @@ public function attributesToProperties(?Model $model = null, mixed $rescue = nul
*
* @param array|\ArrayAccess|null $data
* @param mixed|null $rescue
*
* @return void
*/
public function arrayToProperties(array|\ArrayAccess|null $data, mixed $rescue = null): void
Expand All @@ -77,8 +74,8 @@ public function arrayToProperties(array|\ArrayAccess|null $data, mixed $rescue =
* @param string|object|null $class
* @param int|null $filter
* @param bool $asCollection
*
* @return array|Collection
*
* @throws \ReflectionException
*/
public function dumpProperties(
Expand Down
2 changes: 0 additions & 2 deletions src/Traits/WithDynamicProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ trait WithDynamicProperties
{
/**
* @param string $name
*
* @return mixed
*/
public function __get(string $name): mixed
Expand All @@ -17,7 +16,6 @@ public function __get(string $name): mixed
/**
* @param string $name
* @param mixed $value
*
* @return void
*/
public function __set(string $name, mixed $value): void
Expand Down

0 comments on commit a6757a5

Please sign in to comment.