Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phrequent/storage/PhrequentTimeBlock.php
Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | foreach ($this->events as $event) { | ||||
// |xxxxx| | // |xxxxx| | ||||
// |yyyyyyyyyyyyy| | // |yyyyyyyyyyyyy| | ||||
// |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| | // |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| | ||||
$depth = array_pop($stack) + $depth; | $depth = array_pop($stack) + $depth; | ||||
} | } | ||||
} else { | } else { | ||||
// Here, we've prematurely ended a deeper stratum. Merge higher | // Here, we've prematurely ended a deeper stratum. Merge higher | ||||
// stata. This looks like this: | // strata. This looks like this: | ||||
// | // | ||||
// V | // V | ||||
// V | // V | ||||
// |aaaaaaa| | // |aaaaaaa| | ||||
// |xxxxxxxxxxxxxxxxxxx| | // |xxxxxxxxxxxxxxxxxxx| | ||||
// |zzzzzzzzzzzzz| | // |zzzzzzzzzzzzz| | ||||
// |xxxxxxx| | // |xxxxxxx| | ||||
// |yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy| | // |yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy| | ||||
▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines |