for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ParityBit\DeploymentNotifier;
/**
* Details of a change introduced as part of a deployment
*/
class Change
{
* The summary of the change
* @var string
public $summary;
* The author of the change
public $author;
* The full description of the change
public $fullDescription;
* A reference for the change
public $reference;
* Change constructor
*
* @param string $summary
* @param string $author
* @param string $fullDescription
* @param string $reference
* @return null
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct($summary = null, $author = null, $fullDescription = null, $reference = null)
$this->summary = $summary;
$this->author = $author;
$this->fullDescription = $fullDescription;
$this->reference = $reference;
}
public function __toString()
return $this->summary;
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.