| @@ -28,11 +28,8 @@ | ||
| 28 | 28 | */ |
| 29 | 29 | private $api_data; |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @param array<string> $keys | |
| 33 | - * @param array<string> $keys_with_images | |
| 34 | - * | |
| 35 | 32 | * @return void |
| 36 | 33 | */ |
| 37 | 34 | public static function init() { |
| 38 | 35 | /** |
| @@ -147,10 +144,10 @@ | ||
| 147 | 144 | // Strip off the " Template" text at the end of the name as it takes up space. |
| 148 | 145 | $value = substr( $value, 0, -9 ); |
| 149 | 146 | } |
| 150 | 147 | $application[ $key ] = $value; |
| 151 | - } | |
| 152 | - } | |
| 148 | + }//end if | |
| 149 | + }//end foreach | |
| 153 | 150 | |
| 154 | 151 | $application['hasLiteThumbnail'] = in_array( $application['key'], self::$keys_with_images, true ); |
| 155 | 152 | |
| 156 | 153 | if ( ! array_key_exists( 'url', $application ) ) { |