mirror of
https://github.com/filp/whoops.git
synced 2026-09-05 15:08:19 +00:00
Adding PHPDoc for Frame::equals
This commit is contained in:
@@ -226,7 +226,13 @@ class Frame implements Serializable
|
||||
$this->frame = $frame;
|
||||
}
|
||||
|
||||
public function equals(Frame $frame){
|
||||
/**
|
||||
* Compares Frame against one another
|
||||
* @param Frame $frame
|
||||
* @return bool
|
||||
*/
|
||||
public function equals(Frame $frame)
|
||||
{
|
||||
return $frame->getFile() == $this->getFile() && $frame->getLine() === $this->getLine();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user