@@ -9,6 +9,10 @@  | 
                                                    ||
| 9 | 9 |  { | 
                                                        
| 10 | 10 | private $object;  | 
                                                        
| 11 | 11 | |
| 12 | + /**  | 
                                                        |
| 13 | + * @param string $directive  | 
                                                        |
| 14 | + * @param string $value  | 
                                                        |
| 15 | + */  | 
                                                        |
| 12 | 16 | public function __construct($directive, $value)  | 
                                                        
| 13 | 17 |      { | 
                                                        
| 14 | 18 | $class = __NAMESPACE__ . "\\directives\\$directive";  | 
                                                        
@@ -36,7 +36,9 @@  | 
                                                    ||
| 36 | 36 |      { | 
                                                        
| 37 | 37 |          foreach (array_unique($this->supportedDateFormats) as $format) { | 
                                                        
| 38 | 38 | $dateTime = date_create_from_format($format, $this->value);  | 
                                                        
| 39 | - if ($dateTime === false) continue;  | 
                                                        |
| 39 | +            if ($dateTime === false) { | 
                                                        |
| 40 | + continue;  | 
                                                        |
| 41 | + }  | 
                                                        |
| 40 | 42 | $result[self::DIRECTIVE] = $dateTime->format(DATE_RFC850);  | 
                                                        
| 41 | 43 |              if (time() >= $dateTime->getTimestamp()) { | 
                                                        
| 42 | 44 | $noindex = new noindex();  |