Skip to content

Commit

Permalink
Update composer
Browse files Browse the repository at this point in the history
  • Loading branch information
BMTmohammedtaha committed Aug 13, 2023
1 parent 91cb4bf commit f6485db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
],
"require": {
"effectra/config":"1.0",
"effectra/fs":"1.0",
"effectra/to-string":"1.0"
"effectra/fs":"*",
"effectra/to-string":"*"
},
"minimum-stability": "stable"
}
4 changes: 2 additions & 2 deletions src/GeneratorFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public function __construct(string $functionName)
*/
public function generate(): TemplateInterface
{
$clone = clone $this;
$clone->fileContent .= $this->creator->createFunctionIfNotExists(name: $this->functionName);
// $clone = clone $this;
// $clone->fileContent .= $this->creator->createFunction(name: $this->functionName);
return $clone;
}

Expand Down

0 comments on commit f6485db

Please sign in to comment.