/** * Get space before paragraph * * @return integer */ public function getSpaceBefore() { if ($this->spacing !== null) { return $this->spacing->getBefore(); } else { return null; } }
/** * Get space before paragraph * * @return integer */ public function getSpaceBefore() { if (!is_null($this->spacing)) { return $this->spacing->getBefore(); } }