Skip to content

Commit 0652edb

Browse files
committed
declare new methods as final
1 parent 651f8d9 commit 0652edb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Redmine/Api/Project.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public function update($id, array $params)
207207
*
208208
* @return true if the request was successful
209209
*/
210-
public function close($projectIdentifier): bool
210+
final public function close($projectIdentifier): bool
211211
{
212212
if (! is_int($projectIdentifier) && ! is_string($projectIdentifier)) {
213213
throw new InvalidArgumentException(sprintf(
@@ -242,7 +242,7 @@ public function close($projectIdentifier): bool
242242
*
243243
* @return true if the request was successful
244244
*/
245-
public function reopen($projectIdentifier): bool
245+
final public function reopen($projectIdentifier): bool
246246
{
247247
if (! is_int($projectIdentifier) && ! is_string($projectIdentifier)) {
248248
throw new InvalidArgumentException(sprintf(
@@ -277,7 +277,7 @@ public function reopen($projectIdentifier): bool
277277
*
278278
* @return true if the request was successful
279279
*/
280-
public function archive($projectIdentifier): bool
280+
final public function archive($projectIdentifier): bool
281281
{
282282
if (! is_int($projectIdentifier) && ! is_string($projectIdentifier)) {
283283
throw new InvalidArgumentException(sprintf(
@@ -312,7 +312,7 @@ public function archive($projectIdentifier): bool
312312
*
313313
* @return true if the request was successful
314314
*/
315-
public function unarchive($projectIdentifier): bool
315+
final public function unarchive($projectIdentifier): bool
316316
{
317317
if (! is_int($projectIdentifier) && ! is_string($projectIdentifier)) {
318318
throw new InvalidArgumentException(sprintf(

0 commit comments

Comments
 (0)