]> git.agnieray.net Git - galette.git/blobdiff - galette/lib/Galette/Entity/PdfModel.php
Switch to phpstan level 4
[galette.git] / galette / lib / Galette / Entity / PdfModel.php
index b61859d4c19360ac0cab3161a1fc1a2c182988ca..5e801539782815efad0665d741315b502c3eef95 100644 (file)
@@ -217,11 +217,13 @@ abstract class PdfModel
     public function store()
     {
         $title = $this->title;
+        //@phpstan-ignore-next-line
         if ($title === null || trim($title) === '') {
             $title = new Expression('NULL');
         }
 
         $subtitle = $this->subtitle;
+        //@phpstan-ignore-next-line
         if ($subtitle === null || trim($subtitle) === '') {
             $subtitle = new Expression('NULL');
         }