| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 13 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 18 | public function getSchedule(): Schedule  | 
            ||
| 19 |     { | 
            ||
| 20 | $store = new SemaphoreStore();  | 
            ||
| 21 | $factory = new LockFactory($store);  | 
            ||
| 22 | |||
| 23 | return $this->schedule ??= (new Schedule())  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 24 | ->with(  | 
            ||
| 25 | RecurringMessage::cron(  | 
            ||
| 26 | '*/5 1-2,5-23 * * * ',  | 
            ||
| 27 | new UpdatePlayerChartRanking()  | 
            ||
| 28 | )  | 
            ||
| 29 | )  | 
            ||
| 30 |             ->lock($factory->createLock('update-team-chart-ranking')); | 
            ||
| 31 | }  | 
            ||
| 33 |