You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,16 +30,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
25
30
26
31
### Deprecated
27
32
28
-
-`\Art4\JsonApiClient\Accessable::has()` will add `bool` as a native return type declaration in v2.0, do the same in your implementation now to avoid errors.
29
-
-`\Art4\JsonApiClient\Accessable::getKeys()` will add `array` as a native return type declaration in v2.0, do the same in your implementation now to avoid errors.
30
-
-`\Art4\JsonApiClient\Exception\Exception` will extend `\Throwable` in v2.0, do the same in your implementation now to avoid errors.
31
-
-`\Art4\JsonApiClient\Factory::make()` methods first parameter signature will be `string` in v2.0.
32
-
-`\Art4\JsonApiClient\Factory::make()` will add `\Art4\JsonApiClient\Accessable` as a native return type declaration in v2.0, do the same in your implementation now to avoid errors.
33
-
-`\Art4\JsonApiClient\Input\Input::getAsObject()` will add `\stdClass` as a native return type declaration in v2.0, do the same in your implementation now to avoid errors.
34
-
-`\Art4\JsonApiClient\Manager::parse()` will add `\Art4\JsonApiClient\Accessable` as a native return type declaration in v2.0, do the same in your implementation now to avoid errors.
35
-
-`\Art4\JsonApiClient\Manager::getFactory()` will add `\Art4\JsonApiClient\Factory` as a native return type declaration in v2.0, do the same in your implementation now to avoid errors.
36
-
-`\Art4\JsonApiClient\Manager::getParam()` methods first parameter signature will be `string` in v2.0.
37
-
-`\Art4\JsonApiClient\Serializer\Serializer::serialize()` will add `?array` as a native return type declaration in v2.0, do the same in your implementation now to avoid errors.
33
+
-`\Art4\JsonApiClient\Accessable::has()` will add `bool` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
34
+
-`\Art4\JsonApiClient\Accessable::getKeys()` will add `array` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
35
+
-`\Art4\JsonApiClient\Exception\Exception` will extend `\Throwable` in 2.0.0, do the same in your implementation now to avoid errors.
36
+
-`\Art4\JsonApiClient\Factory::make()` methods first parameter signature will be `string` in 2.0.0.
37
+
-`\Art4\JsonApiClient\Factory::make()` will add `\Art4\JsonApiClient\Accessable` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
38
+
-`\Art4\JsonApiClient\Input\Input::getAsObject()` will add `\stdClass` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
39
+
-`\Art4\JsonApiClient\Manager::parse()` will add `\Art4\JsonApiClient\Accessable` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
40
+
-`\Art4\JsonApiClient\Manager::getFactory()` will add `\Art4\JsonApiClient\Factory` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
41
+
-`\Art4\JsonApiClient\Manager::getParam()` methods first parameter signature will be `string` in 2.0.0.
42
+
-`\Art4\JsonApiClient\Serializer\Serializer::serialize()` will add `?array` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
Copy file name to clipboardExpand all lines: src/Accessable.php
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -27,22 +27,20 @@ public function get($key);
27
27
/**
28
28
* Check if a value exists
29
29
*
30
-
* @deprecated `\Art4\JsonApiClient\Accessable::has()` will add `bool` as a native return type declaration in v2.0. Do the same in your implementation now to avoid errors.
30
+
* @return-type-will-change bool `\Art4\JsonApiClient\Accessable::has()` will add `bool` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
31
31
*
32
32
* @param mixed $key The key
33
33
*
34
34
* @return bool
35
35
*/
36
-
publicfunctionhas($key);
37
-
// public function has($key): bool;
36
+
publicfunctionhas($key)/*: bool */;
38
37
39
38
/**
40
39
* Returns the keys of all setted values
41
40
*
42
-
* @deprecated `\Art4\JsonApiClient\Accessable::getKeys()` will add `array` as a native return type declaration in v2.0. Do the same in your implementation now to avoid errors.
41
+
* @return-type-will-change array `\Art4\JsonApiClient\Accessable::getKeys()` will add `array` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
43
42
*
44
43
* @return array<string|int> Keys of all setted values
Copy file name to clipboardExpand all lines: src/Factory.php
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,11 @@ interface Factory
16
16
/**
17
17
* Create a new instance of a class
18
18
*
19
-
* @deprecated The `\Art4\JsonApiClient\Factory::make()` methods first parameter signature will be `string` in v2.0.
20
-
* @deprecated `\Art4\JsonApiClient\Factory::make()` will add `\Art4\JsonApiClient\Accessable` as a native return type declaration in v2.0. Do the same in your implementation now to avoid errors.
19
+
* @return-type-will-change Accessable `\Art4\JsonApiClient\Factory::make()` will add `\Art4\JsonApiClient\Accessable` as a native return type declaration in 2.0.0, do the same in your implementation now to avoid errors.
21
20
*
22
-
* @param string $name
23
-
* @param array<mixed|Manager|Accessable> $args
21
+
* @param array<mixed|Manager|Accessable> $args
24
22
*
25
23
* @return \Art4\JsonApiClient\Accessable
26
24
*/
27
-
publicfunctionmake($name, array$args = []);
28
-
// public function make(string $name, array $args = []): Accessable;
0 commit comments