← All changes
|
modules/design-system-sync/classes/stylesheet-manager.php
+1
-5
4.2.4
→
4.0.0-dev4
View file →
| @@ -19,14 +19,10 @@ | ||
| 19 | 19 | public function __construct() { |
| 20 | 20 | parent::__construct( self::FILE_NAME ); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - public function generate(): ?array { | |
| 23 | + public function generate(): array { | |
| 24 | 24 | $this->update(); |
| 25 | - | |
| 26 | - if ( ! file_exists( $this->get_path() ) ) { | |
| 27 | - return null; | |
| 28 | - } | |
| 29 | 25 | |
| 30 | 26 | return [ |
| 31 | 27 | 'url' => $this->get_url(), |
| 32 | 28 | 'version' => $this->get_meta( 'time' ), |