Skip to content

Commit 3b50816

Browse files
committed
bump version for removal of deprecated features
1 parent 7fa9b78 commit 3b50816

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/State.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ final class State
4141
public function __construct(Activity $activity, Actor $actor, $stateId, $registrationId = null)
4242
{
4343
if (!$actor instanceof Agent) {
44-
@trigger_error(sprintf('Passing an instance of "%s" as the second argument is deprecated since 1.2. In 3.0, only instances of "Xabbuh\XApi\Model\Agent" will be accepted.', get_class($actor)), E_USER_DEPRECATED);
44+
@trigger_error(sprintf('Passing an instance of "%s" as the second argument is deprecated since 1.2. In 4.0, only instances of "Xabbuh\XApi\Model\Agent" will be accepted.', get_class($actor)), E_USER_DEPRECATED);
4545
}
4646

4747
$this->activity = $activity;
@@ -65,11 +65,11 @@ public function getActivity()
6565
*
6666
* @return Actor The actor
6767
*
68-
* @deprecated since 1.2, to be removed in 3.0
68+
* @deprecated since 1.2, to be removed in 4.0
6969
*/
7070
public function getActor()
7171
{
72-
@trigger_error(sprintf('The "%s()" method is deprecated since 1.2 and will be removed in 3.0, use "%s::getAgent()" instead.', __METHOD__, __CLASS__), E_USER_DEPRECATED);
72+
@trigger_error(sprintf('The "%s()" method is deprecated since 1.2 and will be removed in 4.0, use "%s::getAgent()" instead.', __METHOD__, __CLASS__), E_USER_DEPRECATED);
7373

7474
return $this->getAgent();
7575
}

0 commit comments

Comments
 (0)