for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Mikemirten\Component\JsonApi\Mapper\Definition;
/**
* Definition of attribute
*
* @package Mikemirten\Component\JsonApi\Mapper\Definition
*/
class Attribute
{
* Unique name
* @var string
protected $name;
* Attribute constructor.
* @param string $name
public function __construct(string $name)
$name
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$this->name;
}
* Get name
* @return string
public function getName(): string
return $this->name;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.