Skip to content

Commit

Permalink
Format with pint
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmypuckett committed Dec 9, 2023
1 parent 5a84571 commit f54026e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/AssetType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Spinen\Halo;

use Spinen\Halo\Support\Collection;
use Spinen\Halo\Support\Model;

/**
Expand Down
1 change: 0 additions & 1 deletion src/Outcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ class Outcome extends Model
*/
protected string $path = '/outcome';


/**
* Some of the responses have the data under a property
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Support/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,11 @@ public function getModel(): Model
*/
public function getPath(?string $extra = null): ?string
{
$w = (array)$this->wheres;
$w = (array) $this->wheres;
$id = Arr::pull($w, $this->getModel()->getKeyName());

return $this->getModel()
->getPath($extra . (is_null($id) ? null : '/' . $id), $w);
->getPath($extra.(is_null($id) ? null : '/'.$id), $w);
}

/**
Expand Down
4 changes: 0 additions & 4 deletions src/Support/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

class Collection extends BaseCollection
{
/**
*
* @var array
*/
protected array $pagination = [];

/**
Expand Down

0 comments on commit f54026e

Please sign in to comment.