Skip to content

Commit 23da372

Browse files
committed
Merge branch 'update'
2 parents 9e94137 + 1ff4c10 commit 23da372

File tree

6 files changed

+25
-24
lines changed

6 files changed

+25
-24
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"psr/http-factory": "^1",
2424
"psr/http-message": "^1.1 || ^2",
2525
"psr/log": "^1",
26-
"psr/simple-cache": "^1 || ^2 || ^3"
26+
"psr/simple-cache": "^1 || ^2"
2727
},
2828
"require-dev": {
2929
"adodb/adodb-php": "^5",
@@ -70,7 +70,7 @@
7070
"psr/http-factory-implementation": "^1",
7171
"psr/http-message-implementation": "^1.1 || ^2",
7272
"psr/log-implementation": "^1",
73-
"psr/simple-cache-implementation": "^1 || ^2 || ^3"
73+
"psr/simple-cache-implementation": "^1 || ^2"
7474
},
7575
"suggest": {
7676
"adodb/adodb-php": "Required for access to databases",

composer.lock

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Toolkit/Cache/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"salient/core": "self.version"
2020
},
2121
"provide": {
22-
"psr/simple-cache-implementation": "^1 || ^2 || ^3"
22+
"psr/simple-cache-implementation": "^1 || ^2"
2323
},
2424
"autoload": {
2525
"psr-4": {

src/Toolkit/Contract/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"psr/http-client": "^1",
2121
"psr/http-message": "^1.1 || ^2",
2222
"psr/log": "^1",
23-
"psr/simple-cache": "^1 || ^2 || ^3"
23+
"psr/simple-cache": "^1 || ^2"
2424
},
2525
"autoload": {
2626
"psr-4": {

src/Toolkit/Sync/AbstractSyncProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
use Salient\Contract\Core\Pipeline\PipelineInterface;
99
use Salient\Contract\Sync\SyncContextInterface;
1010
use Salient\Contract\Sync\SyncEntityInterface;
11-
use Salient\Contract\Sync\SyncOperation as OP;
1211
use Salient\Contract\Sync\SyncProviderInterface;
1312
use Salient\Contract\Sync\SyncStoreInterface;
1413
use Salient\Core\AbstractProvider;
1514
use Salient\Core\Pipeline;
1615
use Salient\Sync\Support\SyncContext;
1716
use Salient\Sync\Support\SyncEntityProvider;
1817
use Salient\Sync\Support\SyncIntrospector;
18+
use Salient\Sync\Support\SyncPipelineArgument;
1919
use Salient\Utility\Regex;
2020
use Salient\Utility\Str;
2121
use Closure;
@@ -174,11 +174,11 @@ protected function run(SyncContextInterface $context, callable $operation)
174174
* @template T of SyncEntityInterface
175175
*
176176
* @param class-string<T> $entity
177-
* @return PipelineInterface<mixed[],T,array{0:OP::*,1:SyncContextInterface,2?:int|string|T|T[]|null,...}>
177+
* @return PipelineInterface<mixed[],T,SyncPipelineArgument>
178178
*/
179179
protected function pipelineFrom(string $entity): PipelineInterface
180180
{
181-
/** @var PipelineInterface<mixed[],T,array{0:OP::*,1:SyncContextInterface,2?:int|string|T|T[]|null,...}> */
181+
/** @var PipelineInterface<mixed[],T,SyncPipelineArgument> */
182182
return Pipeline::create($this->App);
183183
}
184184

@@ -188,11 +188,11 @@ protected function pipelineFrom(string $entity): PipelineInterface
188188
* @template T of SyncEntityInterface
189189
*
190190
* @param class-string<T> $entity
191-
* @return PipelineInterface<T,mixed[],array{0:OP::*,1:SyncContextInterface,2?:int|string|T|T[]|null,...}>
191+
* @return PipelineInterface<T,mixed[],SyncPipelineArgument>
192192
*/
193193
protected function pipelineTo(string $entity): PipelineInterface
194194
{
195-
/** @var PipelineInterface<T,mixed[],array{0:OP::*,1:SyncContextInterface,2?:int|string|T|T[]|null,...}> */
195+
/** @var PipelineInterface<T,mixed[],SyncPipelineArgument> */
196196
return Pipeline::create($this->App);
197197
}
198198

tests/3rdparty/Toolkit/Psr7Test/UriTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function createUri($uri)
3131
/**
3232
* @return array<array{PsrUriInterface,string}>
3333
*/
34-
public function getPaths(): array
34+
public static function getPaths(): array
3535
{
3636
/** @var array<array{PsrUriInterface,string}> */
3737
$data = parent::getPaths();

0 commit comments

Comments
 (0)