File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -213,10 +213,10 @@ public function config_is_valid(): bool {
213
213
if (empty ($ this ->config )) {
214
214
return false ;
215
215
}
216
- if (!is_integer ($ this ->config ->carousseldelay )) {
216
+ if (empty ( $ this -> config -> carousseldelay ) || !is_integer ($ this ->config ->carousseldelay )) {
217
217
return false ;
218
218
}
219
- if (!is_integer ($ this ->config ->numentries )) {
219
+ if (empty ( $ this -> config -> numentries ) || !is_integer ($ this ->config ->numentries )) {
220
220
return false ;
221
221
}
222
222
if (!$ this ->config ->title ) {
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public function test_get_feed_items() {
182
182
*
183
183
* @return array[]
184
184
*/
185
- final private function get_expected_items () {
185
+ private function get_expected_items () {
186
186
return [
187
187
[
188
188
"id " => "https://www.imt.fr/?p=89572 " ,
Original file line number Diff line number Diff line change 24
24
25
25
defined ('MOODLE_INTERNAL ' ) || die ();
26
26
27
- $ plugin ->version = 2022120901 ; // The current plugin version (Date: YYYYMMDDXX).
27
+ $ plugin ->version = 2023020200 ; // The current plugin version (Date: YYYYMMDDXX).
28
28
$ plugin ->requires = 2012112900 ; // Requires this Moodle version.
29
29
$ plugin ->release = 1.2 ;
30
30
$ plugin ->maturity = MATURITY_STABLE ;
You can’t perform that action at this time.
0 commit comments