Skip to content

Commit

Permalink
Add missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Feb 17, 2022
1 parent 9f34986 commit e30b5ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Command/Checkout/RestoreWorkingTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ class RestoreWorkingTree extends Base
*/
private $noMoreHooks = false;

public function skipHooks($bool = true): RestoreWorkingTree
/**
* Do not trigger git hooks while restoring
*
* @param bool $bool
* @return $this
*/
public function skipHooks(bool $bool = true): RestoreWorkingTree
{
$this->noMoreHooks = $bool;
return $this;
Expand Down

0 comments on commit e30b5ed

Please sign in to comment.