Skip to content

Commit cc8e8fd

Browse files
author
Anton Evers
committed
Fix phpmd test failure, rename method from get to is
1 parent 4499b6f commit cc8e8fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Deploy/Service/DeployStaticContent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function deploy(array $options)
8080
: (new \DateTime())->getTimestamp();
8181
$this->versionStorage->save($version);
8282

83-
if ($this->getRefreshContentVersionOnly($options)) {
83+
if ($this->isRefreshContentVersionOnly($options)) {
8484
$this->logger->warning("New content version: " . $version);
8585
return;
8686
}
@@ -145,7 +145,7 @@ private function getProcessesAmount(array $options)
145145
* @param array $options
146146
* @return bool
147147
*/
148-
private function getRefreshContentVersionOnly(array $options)
148+
private function isRefreshContentVersionOnly(array $options)
149149
{
150150
return isset($options[Options::REFRESH_CONTENT_VERSION_ONLY])
151151
&& $options[Options::REFRESH_CONTENT_VERSION_ONLY];

0 commit comments

Comments
 (0)