Skip to content

Commit

Permalink
Refactor for MOODLE41 & PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
luukverhoeven committed Dec 11, 2023
1 parent 99d5675 commit 79d03ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions classes/github.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ public function set_basic_auth(string $username, string $password): bool {
/**
* Get
*
* @param string $endpoint
* @param string $url
* @param array $params
* @param array $options
* @return bool|string
*/
public function get(string $endpoint, array $params = [], array $options = []) {
public function get($url, $params = [], $options = []) {
$repolink = 'https://api.github.com/repos/';
$repolink .= $this->repo;
$repolink .= $endpoint;
$repolink .= $url;

return parent::get($repolink, $params, $options);
}
Expand Down
4 changes: 2 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
}

#page-blocks-configurable_reports-viewreport .generaltable th.header {
background-color: #f5f5dc;
border-bottom-width: 2px;
background-color: #f8f9fa;
border-bottom-width: 1px;
}

/* Center align bottom report statistics
Expand Down

0 comments on commit 79d03ac

Please sign in to comment.