Browse Source

Apply suggestions from code review

Co-Authored-By: othercorey <corey.taylor.fl@gmail.com>
Mark Story 6 years ago
parent
commit
d9f640cfc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/TestSuite/Constraint/Email/MailSentWith.php

+ 1 - 1
src/TestSuite/Constraint/Email/MailSentWith.php

@@ -75,7 +75,7 @@ class MailSentWith extends MailConstraintBase
             'template', 'layout', 'helpers',
             'theme',
         ];
-        if (in_array($this->method, $viewBuilderMethods)) {
+        if (in_array($this->method, $viewBuilderMethods, true)) {
             return $email->viewBuilder()->{'get' . ucfirst($this->method)}();
         }