We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ac48dc commit 3b444d5Copy full SHA for 3b444d5
src/Gitonomy/Git/Commit.php
@@ -257,7 +257,7 @@ public function getTree()
257
/**
258
* @return Commit
259
*/
260
- public function getLastModification($path)
+ public function getLastModification($path = null)
261
{
262
if (0 === strpos($path, '/')) {
263
$path = StringHelper::substr($path, 1);
src/Gitonomy/Git/Revision.php
@@ -81,7 +81,7 @@ public function getCommitHash()
81
*
82
* @return DateTime
83
84
- public function getLastModification()
85
86
return $this->getCommit()->getAuthorDate();
87
}
0 commit comments