Skip to content

Commit 727a935

Browse files
authored
Merge branch '4.x' into 4x-route-callable
2 parents 1a89fee + e4aff28 commit 727a935

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Slim/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class App extends RouteCollectorProxy implements RequestHandlerInterface
4343
*
4444
* @var string
4545
*/
46-
public const VERSION = '4.12.0';
46+
public const VERSION = '4.14.0';
4747

4848
protected RouteResolverInterface $routeResolver;
4949

Slim/Interfaces/RouteInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,17 @@ public function getArguments(): array;
8989

9090
/**
9191
* Set a route argument
92+
*
93+
* @deprecated 4.14.1 Use a middleware for custom route arguments now.
9294
*/
9395
public function setArgument(string $name, string $value): RouteInterface;
9496

9597
/**
9698
* Replace route arguments
9799
*
98100
* @param array<string, string> $arguments
101+
*
102+
* @deprecated 4.14.1 Use a middleware for custom route arguments now.
99103
*/
100104
public function setArguments(array $arguments): self;
101105

0 commit comments

Comments
 (0)