summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1b020b0)
Fix inproper strict return
* Constructor
*/
public function __construct() {
* Constructor
*/
public function __construct() {
+ //Set defaults
+ $this->score = null;
+ $this->canceled = null;
+ $this->created = new \DateTime('now');
+ $this->updated = new \DateTime('now');
$this->session = null;
$this->user = null;
}
$this->session = null;
$this->user = null;
}
*
* @param Dance $dance
*
*
* @param Dance $dance
*
- public function setDance(Dance $dance): Session {
+ public function setDance(Dance $dance): Application {
$this->dance = $dance;
return $this;
$this->dance = $dance;
return $this;
* Constructor
*/
public function __construct() {
* Constructor
*/
public function __construct() {
+ //Set defaults
+ $this->created = new \DateTime('now');
+ $this->updated = new \DateTime('now');
$this->applications = new ArrayCollection();
$this->users = new ArrayCollection();
}
$this->applications = new ArrayCollection();
$this->users = new ArrayCollection();
}
* Constructor
*/
public function __construct() {
* Constructor
*/
public function __construct() {
+ //Set defaults
+ $this->created = new \DateTime('now');
+ $this->updated = new \DateTime('now');
$this->sessions = new ArrayCollection();
$this->snippets = new ArrayCollection();
$this->users = new ArrayCollection();
$this->sessions = new ArrayCollection();
$this->snippets = new ArrayCollection();
$this->users = new ArrayCollection();
* Constructor
*/
public function __construct() {
* Constructor
*/
public function __construct() {
$this->begin = null;
$this->start = null;
$this->length = null;
$this->stop = null;
$this->begin = null;
$this->start = null;
$this->length = null;
$this->stop = null;
$this->rainfall = null;
$this->rainrisk = null;
$this->realfeel = null;
$this->rainfall = null;
$this->rainrisk = null;
$this->realfeel = null;
$this->temperaturemin = null;
$this->temperaturemax = null;
$this->locked = null;
$this->temperaturemin = null;
$this->temperaturemax = null;
$this->locked = null;
+ $this->created = new \DateTime('now');
+ $this->updated = new \DateTime('now');
$this->applications = new ArrayCollection();
}
$this->applications = new ArrayCollection();
}