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

Commit a6757a5

Browse files
committed
Styling with pint 🍺
1 parent d9a7ff8 commit a6757a5

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

src/LoopFunctionServiceProvider.php

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class LoopFunctionServiceProvider extends PackageServiceProvider
1313
* Configure the package.
1414
*
1515
* @param Package $package
16-
*
1716
* @return void
1817
*/
1918
public function configurePackage(Package $package): void

src/Traits/HelpsLoopFunctions.php

+3-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ trait HelpsLoopFunctions
1212
* @param int|string $key
1313
* @param mixed $value
1414
* @param mixed|null $rescue
15-
*
1615
* @return void
16+
*
1717
* @throws \ReflectionException
1818
*/
1919
private function assignValue(int|string $key, mixed $value, mixed $rescue = null): void
@@ -29,8 +29,8 @@ private function assignValue(int|string $key, mixed $value, mixed $rescue = null
2929

3030
/**
3131
* @param int|string $key
32-
*
3332
* @return bool
33+
*
3434
* @throws \ReflectionException
3535
*/
3636
private function canAssignValue(int|string $key): bool
@@ -42,7 +42,6 @@ private function canAssignValue(int|string $key): bool
4242

4343
/**
4444
* @param int|string $key
45-
*
4645
* @return bool
4746
*/
4847
private function checksPropertyExists(int|string $key): bool
@@ -56,8 +55,8 @@ private function checksPropertyExists(int|string $key): bool
5655

5756
/**
5857
* @param int|string $key
59-
*
6058
* @return bool
59+
*
6160
* @throws \ReflectionException
6261
*/
6362
private function hasDefaultValue(int|string $key): bool
@@ -70,7 +69,6 @@ private function hasDefaultValue(int|string $key): bool
7069

7170
/**
7271
* @param mixed $value
73-
*
7472
* @return bool
7573
*/
7674
private function canWalkRecursively(mixed $value): bool

src/Traits/LoopFunctions.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ trait LoopFunctions
1616
*
1717
* @param Model|\ArrayAccess|array|null $data
1818
* @param mixed|null $rescue
19-
*
2019
* @return void
2120
*/
2221
public function propertiesFrom(Model|\ArrayAccess|array|null $data = null, mixed $rescue = null): void
@@ -34,7 +33,6 @@ public function propertiesFrom(Model|\ArrayAccess|array|null $data = null, mixed
3433
*
3534
* @param Model|null $model
3635
* @param mixed $rescue
37-
*
3836
* @return void
3937
*/
4038
public function attributesToProperties(?Model $model = null, mixed $rescue = null): void
@@ -55,7 +53,6 @@ public function attributesToProperties(?Model $model = null, mixed $rescue = nul
5553
*
5654
* @param array|\ArrayAccess|null $data
5755
* @param mixed|null $rescue
58-
*
5956
* @return void
6057
*/
6158
public function arrayToProperties(array|\ArrayAccess|null $data, mixed $rescue = null): void
@@ -77,8 +74,8 @@ public function arrayToProperties(array|\ArrayAccess|null $data, mixed $rescue =
7774
* @param string|object|null $class
7875
* @param int|null $filter
7976
* @param bool $asCollection
80-
*
8177
* @return array|Collection
78+
*
8279
* @throws \ReflectionException
8380
*/
8481
public function dumpProperties(

src/Traits/WithDynamicProperties.php

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ trait WithDynamicProperties
66
{
77
/**
88
* @param string $name
9-
*
109
* @return mixed
1110
*/
1211
public function __get(string $name): mixed
@@ -17,7 +16,6 @@ public function __get(string $name): mixed
1716
/**
1817
* @param string $name
1918
* @param mixed $value
20-
*
2119
* @return void
2220
*/
2321
public function __set(string $name, mixed $value): void

0 commit comments

Comments
 (0)