Skip to content

Commit

Permalink
PHPCS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire committed Aug 23, 2024
1 parent 10945f2 commit 5f97567
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
namespace Apigee\Edge\Tests\Api\Monetization\EntitySerializer;

use Apigee\Edge\Entity\EntityInterface;
use stdClass;

class ReportDefinitionSerializerValidator extends OrganizationAwareEntitySerializerValidator
{
/**
* {@inheritdoc}
*/
public function validate(\stdClass $input, EntityInterface $entity): void
public function validate(stdClass $input, EntityInterface $entity): void
{
// Developer property gets removed from the normalized output so we
// do not validate it here.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use Apigee\Edge\Tests\Test\EntitySerializer\EntitySerializerAwareTestTrait;
use Apigee\Edge\Tests\Test\EntitySerializer\EntitySerializerValidatorAwareTrait;
use DMS\PHPUnitExtensions\ArraySubset\Assert;
use stdClass;

/**
* Validates controllers that support entity update operations.
Expand All @@ -38,7 +39,7 @@ trait EntityUpdateOperationControllerTestTrait
/**
* @depends testLoad
*
* @param \Apigee\Edge\Entity\EntityInterface $existing
* @param EntityInterface $existing
*/
public function testUpdate(EntityInterface $existing): EntityInterface
{
Expand Down Expand Up @@ -82,14 +83,14 @@ protected function alterArraysBeforeCompareSentAndReceivedPayloadsInUpdate(array
{
}

protected function alterObjectsBeforeCompareResponseAndUpdateEntity(\stdClass &$responseObject, EntityInterface $created): void
protected function alterObjectsBeforeCompareResponseAndUpdateEntity(stdClass &$responseObject, EntityInterface $created): void
{
}

/**
* Controller for entity update operation testing.
*
* @return \Apigee\Edge\Tests\Test\Controller\EntityUpdateOperationControllerTesterInterface
* @return EntityUpdateOperationControllerTesterInterface
*/
protected static function controllerForEntityUpdate(): EntityUpdateOperationControllerTesterInterface
{
Expand Down

0 comments on commit 5f97567

Please sign in to comment.