phpsniffer happy
Some checks failed
Some checks failed
This commit is contained in:
parent
24844f57c1
commit
993fc2b24f
2 changed files with 4 additions and 2 deletions
|
@ -174,7 +174,9 @@ abstract class Event extends Post {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compose a human readable formatted time from the parameter $time.
|
* Compose a human readable formatted time.
|
||||||
|
*
|
||||||
|
* @param ?string $time The time which needs to be formatted
|
||||||
*/
|
*/
|
||||||
private static function format_time( $time ) {
|
private static function format_time( $time ) {
|
||||||
if ( is_null( $time ) ) {
|
if ( is_null( $time ) ) {
|
||||||
|
|
|
@ -47,7 +47,7 @@ final class Events_Manager extends Event_Transformer {
|
||||||
*/
|
*/
|
||||||
public function __construct( $wp_object, $wp_taxonomy ) {
|
public function __construct( $wp_object, $wp_taxonomy ) {
|
||||||
parent::__construct( $wp_object, $wp_taxonomy );
|
parent::__construct( $wp_object, $wp_taxonomy );
|
||||||
$this->em_event = new EM_Event( $this->wp_object->ID, 'post_id' );
|
$this->em_event = new EM_Event( $this->wp_object->ID, 'post_id' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue