Skip to content

Commit

Permalink
Translation BAO - Minor strictness cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton authored and totten committed Aug 28, 2022
1 parent e5e28c4 commit e7be2a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CRM/Core/BAO/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@

use Civi\Api4\Generic\AbstractAction;
use Civi\Api4\Translation;
use Civi\Core\HookInterface;

/**
*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
*/
class CRM_Core_BAO_Translation extends CRM_Core_DAO_Translation implements \Civi\Core\HookInterface {
class CRM_Core_BAO_Translation extends CRM_Core_DAO_Translation implements HookInterface {

use CRM_Core_DynamicFKAccessTrait;

Expand All @@ -26,7 +27,7 @@ class CRM_Core_BAO_Translation extends CRM_Core_DAO_Translation implements \Civi
*
* @return array[]
*/
public static function getStatuses() {
public static function getStatuses(): array {
return [
['id' => 1, 'name' => 'active', 'label' => ts('Active')],
['id' => 2, 'name' => 'draft', 'label' => ts('Draft')],
Expand Down

0 comments on commit e7be2a3

Please sign in to comment.