Completed
Push — master ( e4c59e...359336 )
by Dan
28:12 queued 11:52
created
Traits/IntroductionMethods.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     /**
57 57
      * Get introduction
58 58
      *
59
-     * @return null|string
59
+     * @return string
60 60
      */
61 61
     public function getIntroduction()
62 62
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             /** @noinspection PhpUndefinedFieldInspection */
41 41
             $this->introduction = null;
42 42
         }
43
-        elseif (!is_scalar($introduction)) {
43
+        elseif ( ! is_scalar($introduction)) {
44 44
             throw InvalidArgumentException::create(
45 45
                 'null or string',
46 46
                 $introduction
Please login to merge, or discard this patch.
Traits/CopyMethods.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             /** @noinspection PhpUndefinedFieldInspection */
41 41
             $this->copy = null;
42 42
         }
43
-        elseif (!is_scalar($copy)) {
43
+        elseif ( ! is_scalar($copy)) {
44 44
             throw InvalidArgumentException::create(
45 45
                 'string (or scalar)',
46 46
                 $copy
Please login to merge, or discard this patch.