Skip to content

Commit db9c59d

Browse files
committed
Fixed #3: typo in variable name
1 parent 473ff73 commit db9c59d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

behaviors/CreateImageBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected function saveImageInCategory($category, $path, $name)
9090
$newPath = implode(DIRECTORY_SEPARATOR, [$saveImagePath, $category]);
9191

9292
// Specifies the full path to the category, for the derived class from BaseName
93-
$this->name->pathToCatory = $newPath;
93+
$this->name->pathToCategory = $newPath;
9494

9595
// New image name created with class BaseName
9696
$imageName = $name;

name/BaseName.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract public function generate($baseName);
1818
/**
1919
* @var string Full path to the category
2020
*/
21-
public $pathToCatory;
21+
public $pathToCategory;
2222

2323
/**
2424
* @param $name string

0 commit comments

Comments
 (0)