Skip to content
Merged
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
1 change: 0 additions & 1 deletion src/Contracts/UrlRoutable.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ interface UrlRoutable
{
public static function getRouteKeyName(): string;
}

2 changes: 1 addition & 1 deletion src/DoctrineManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function extendAll($callback)

/**
* @param string|null $connection
* @param string|callback $callback
* @param string|callable $callback
* @param ManagerRegistry $registry
*/
private function callExtendOn($connection = null, $callback, ManagerRegistry $registry)
Expand Down
3 changes: 2 additions & 1 deletion src/IlluminateRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public function closeManager($name = null)

/**
* Purge a named object manager.
*
*
* This method can be used if you wish to close an object manager manually, without opening a new one.
* This can be useful if you wish to open a new manager later (but maybe with different settings).
*
Expand Down Expand Up @@ -306,6 +306,7 @@ public function purgeManager($name = null)
public function resetManager($name = null)
{
$this->closeManager($name);

return $this->getManager($name);
}

Expand Down
7 changes: 3 additions & 4 deletions src/Loggers/Formatters/ReplaceQueryParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

namespace LaravelDoctrine\ORM\Loggers\Formatters;

use DateTime;
use DateTimeInterface;
use Exception;
use function is_array;
use function json_decode;

class ReplaceQueryParams implements QueryFormatter
{
Expand Down Expand Up @@ -68,10 +66,11 @@ function ($part) {
}

/**
* @param array $array
* @param array $array
* @return bool
*/
private function isNestedArray(array $array) {
private function isNestedArray(array $array)
{
foreach ($array as $key => $value) {
if (is_array($value)) {
return true;
Expand Down
1 change: 0 additions & 1 deletion src/Middleware/SubstituteBindings.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ private function signatureParameters(Route $route)
})->toArray();
}
}

1 change: 0 additions & 1 deletion tests/Middleware/SubstituteBindingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,3 @@ public function interfacer(BindableEntityWithInterface $entity)
return $entity->getId();
}
}