Closed saram-aman closed 7 months ago
In SnapshotRepository:
SnapshotRepository
readonly
In ChainableClosure:
ChainableClosure
$this
$self
Changes:
For SnapshotRepository:
$testsPath
$snapshotsPath
For ChainableClosure:
boundWhen
bound
boundStatically
In
SnapshotRepository
:readonly
keyword correctly to class properties.In
ChainableClosure
:$this
in static methods by introducing an explicit object instance ($self
) within closures.Changes:
For
SnapshotRepository
:readonly
to$testsPath
and$snapshotsPath
properties.For
ChainableClosure
:boundWhen
,bound
, andboundStatically
methods to accept an object instance ($self
) explicitly.$this
with$self
within the closures.