Skip to content

Commit

Permalink
Specify deprecation timeframe
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 10, 2023
1 parent b3dea46 commit 8dad98b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/framework/src/Support/Models/RenderData.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public function getPage(): ?HydePage
}

/**
* @deprecated v1.0.0-RC.2 - Renamed to getRoute() to match renamed property.
* @deprecated v1.0.0-RC.2 - Renamed to getRoute() to match renamed property. This method will be removed before version 1.0.
* @codeCoverageIgnore
*/
#[Deprecated(reason: 'Renamed to getRoute() to match renamed property.', replacement: '%class%->getRoute()')]
#[Deprecated(reason: 'Renamed to getRoute() to match renamed property. This method will be removed before version 1.0.', replacement: '%class%->getRoute()')]
public function getCurrentRoute(): ?Route
{
return $this->getRoute();
Expand All @@ -54,10 +54,10 @@ public function getRoute(): ?Route
}

/**
* @deprecated v1.0.0-RC.2 - Renamed to getRouteKey() to match renamed property.
* @deprecated v1.0.0-RC.2 - Renamed to getRouteKey() to match renamed property. This method will be removed before version 1.0.
* @codeCoverageIgnore
*/
#[Deprecated(reason: 'Renamed to getRoute() to match renamed property.', replacement: '%class%->getRouteKey()')]
#[Deprecated(reason: 'Renamed to getRoute() to match renamed property. This method will be removed before version 1.0.', replacement: '%class%->getRouteKey()')]
public function getCurrentPage(): ?string
{
return $this->getRouteKey();
Expand Down

0 comments on commit 8dad98b

Please sign in to comment.