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

Commit f29620f

Browse files
committed
naming
1 parent 1de1e37 commit f29620f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ composer require michael-rubel/laravel-loop-functions
2424

2525
## Usage
2626
```php
27-
use WithLoopFunctions;
27+
use LoopFunctions;
2828
```
2929

3030
## Available methods

src/Traits/WithLoopFunctions.php renamed to src/Traits/LoopFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Illuminate\Database\Eloquent\Model;
88

9-
trait WithLoopFunctions
9+
trait LoopFunctions
1010
{
1111
/**
1212
* Maps your model attributes to local class properties.

tests/ArrayMappingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace MichaelRubel\LoopFunctions\Tests;
44

5-
use MichaelRubel\LoopFunctions\Traits\WithLoopFunctions;
5+
use MichaelRubel\LoopFunctions\Traits\LoopFunctions;
66

77
class ArrayMappingTest extends TestCase
88
{
9-
use WithLoopFunctions;
9+
use LoopFunctions;
1010

1111
public bool $test;
1212
public string $name;

tests/AttributeMappingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
use Illuminate\Support\Collection;
66
use MichaelRubel\LoopFunctions\Tests\Boilerplate\TestModel;
7-
use MichaelRubel\LoopFunctions\Traits\WithLoopFunctions;
7+
use MichaelRubel\LoopFunctions\Traits\LoopFunctions;
88

99
class AttributeMappingTest extends TestCase
1010
{
11-
use WithLoopFunctions;
11+
use LoopFunctions;
1212

1313
public int $id;
1414
public bool $test;

tests/LoggingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
use Illuminate\Support\Facades\Log;
66
use MichaelRubel\LoopFunctions\Tests\Boilerplate\TestModel;
7-
use MichaelRubel\LoopFunctions\Traits\WithLoopFunctions;
7+
use MichaelRubel\LoopFunctions\Traits\LoopFunctions;
88

99
class LoggingTest extends TestCase
1010
{
11-
use WithLoopFunctions;
11+
use LoopFunctions;
1212

1313
public int $number;
1414

0 commit comments

Comments
 (0)