Skip to content

Commit 3614f9d

Browse files
committed
update library
1 parent 2ef2415 commit 3614f9d

File tree

137 files changed

+7660
-6848
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+7660
-6848
lines changed
File renamed without changes.

docs/.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Fixes a vulnerability in CentOS: https://stackoverflow.com/questions/20533279/
2+
<FilesMatch \.php\.txt$>
3+
RemoveHandler .php
4+
ForceType text/plain
5+
</FilesMatch>

docs/classes/Matscode-Paystack-Exceptions-InvalidArgumentException.html

Lines changed: 97 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>Paystack PHP SDK</title>
5+
<title>Paystack PHP SDK</title>
6+
67
<meta name="viewport" content="width=device-width, initial-scale=1.0">
78
<base href="../">
89
<link rel="icon" href="images/favicon.ico"/>
910
<link rel="stylesheet" href="css/normalize.css">
1011
<link rel="stylesheet" href="css/base.css">
11-
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
12+
<link rel="preconnect" href="https://fonts.gstatic.com">
13+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
14+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
1215
<link rel="stylesheet" href="css/template.css">
1316
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
18+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
19+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
1420
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
1521
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
16-
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
1722
<script src="js/search.js"></script>
1823
<script defer src="js/searchIndex.js"></script>
1924
</head>
@@ -48,30 +53,27 @@ <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Pay
4853
Menu
4954
</label>
5055
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
51-
52-
<section class="phpdocumentor-sidebar__category">
53-
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
54-
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h4>
55-
<ul class="phpdocumentor-list">
56-
<li><a href="namespaces/matscode-paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
57-
</ul>
56+
<section class="phpdocumentor-sidebar__category">
57+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
58+
<h4 class="phpdocumentor-sidebar__root-namespace">
59+
<a href="namespaces/matscode.html" class="">Matscode</a>
60+
</h4>
61+
<ul class="phpdocumentor-list">
62+
<li>
63+
<a href="namespaces/matscode-paystack.html" class="">Paystack</a>
64+
65+
</li>
66+
</ul>
67+
5868
</section>
69+
<section class="phpdocumentor-sidebar__category">
70+
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
71+
<h4 class="phpdocumentor-sidebar__root-namespace">
72+
<a href="packages/Application.html" class="">Application</a>
73+
</h4>
5974

60-
<section class="phpdocumentor-sidebar__category">
61-
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
62-
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Default.html"><abbr title="\Default">Default</abbr></a></h3>
63-
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h3>
64-
<ul class="phpdocumentor-list">
65-
<li><a href="packages/Matscode-Paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
66-
</ul>
67-
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Paystack.html"><abbr title="\Paystack">Paystack</abbr></a></h3>
68-
<ul class="phpdocumentor-list">
69-
<li><a href="packages/Paystack-Resources.html"><abbr title="\Paystack\Resources">Resources</abbr></a></li>
70-
<li><a href="packages/Paystack-Traits.html"><abbr title="\Paystack\Traits">Traits</abbr></a></li>
71-
<li><a href="packages/Paystack-Utility.html"><abbr title="\Paystack\Utility">Utility</abbr></a></li>
72-
</ul>
7375
</section>
74-
76+
7577
<section class="phpdocumentor-sidebar__category">
7678
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
7779
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
@@ -103,7 +105,7 @@ <h2 class="phpdocumentor-content__title">
103105
<div class="phpdocumentor-element__package">
104106
in package
105107
<ul class="phpdocumentor-breadcrumbs">
106-
<li class="phpdocumentor-breadcrumb"><a href="packages/Default.html">Default</a></li>
108+
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
107109
</ul>
108110
</div>
109111

@@ -113,10 +115,12 @@ <h2 class="phpdocumentor-content__title">
113115
<aside class="phpdocumentor-element-found-in">
114116
<abbr class="phpdocumentor-element-found-in__file" title="src/Exceptions/InvalidArgumentException.php"><a href="files/src-exceptions-invalidargumentexception.html"><abbr title="src/Exceptions/InvalidArgumentException.php">InvalidArgumentException.php</abbr></a></abbr>
115117
:
116-
<span class="phpdocumentor-element-found-in__line">7</span>
117-
</aside>
118+
<span class="phpdocumentor-element-found-in__line">5</span>
119+
120+
</aside>
118121

119122

123+
<section class="phpdocumentor-description"></section>
120124

121125

122126

@@ -133,6 +137,68 @@ <h2 class="phpdocumentor-content__title">
133137

134138

135139

140+
141+
<script type="text/javascript">
142+
function loadExternalCodeSnippets(line) {
143+
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
144+
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
145+
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
146+
var language = 'php';
147+
148+
var code = document.createElement('code');
149+
code.className = 'language-' + language;
150+
151+
pre.textContent = '';
152+
153+
pre.setAttribute('data-line', line)
154+
code.textContent = 'Loading…';
155+
156+
pre.appendChild(code);
157+
158+
var xhr = new XMLHttpRequest();
159+
160+
xhr.open('GET', src, true);
161+
162+
xhr.onreadystatechange = function () {
163+
if (xhr.readyState == 4) {
164+
165+
if (xhr.status < 400 && xhr.responseText) {
166+
code.textContent = xhr.responseText;
167+
168+
Prism.highlightElement(code);
169+
}
170+
else if (xhr.status >= 400) {
171+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
172+
}
173+
else {
174+
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
175+
}
176+
}
177+
};
178+
179+
xhr.send(null);
180+
});
181+
}
182+
183+
var modals = document.querySelectorAll("[data-modal]");
184+
185+
modals.forEach(function (trigger) {
186+
trigger.addEventListener("click", function (event) {
187+
//event.preventDefault();
188+
const modal = document.getElementById(trigger.dataset.modal);
189+
modal.classList.add("phpdocumentor-modal__open");
190+
loadExternalCodeSnippets(trigger.dataset.line)
191+
const exits = modal.querySelectorAll("[data-exit-button]");
192+
exits.forEach(function (exit) {
193+
exit.addEventListener("click", function (event) {
194+
event.preventDefault();
195+
modal.classList.remove("phpdocumentor-modal__open");
196+
});
197+
});
198+
});
199+
});
200+
</script>
201+
136202
</article>
137203
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
138204
<section class="phpdocumentor-search-results__dialog">
@@ -154,5 +220,9 @@ <h2 class="phpdocumentor-search-results__title">Search results</h2>
154220
<script>
155221
cssVars({});
156222
</script>
223+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
224+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
225+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
226+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
157227
</body>
158228
</html>

docs/classes/Matscode-Paystack-Exceptions-InvalidResourceException.html

Lines changed: 97 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>Paystack PHP SDK</title>
5+
<title>Paystack PHP SDK</title>
6+
67
<meta name="viewport" content="width=device-width, initial-scale=1.0">
78
<base href="../">
89
<link rel="icon" href="images/favicon.ico"/>
910
<link rel="stylesheet" href="css/normalize.css">
1011
<link rel="stylesheet" href="css/base.css">
11-
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
12+
<link rel="preconnect" href="https://fonts.gstatic.com">
13+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
14+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
1215
<link rel="stylesheet" href="css/template.css">
1316
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
18+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
19+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
1420
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
1521
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
16-
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
1722
<script src="js/search.js"></script>
1823
<script defer src="js/searchIndex.js"></script>
1924
</head>
@@ -48,30 +53,27 @@ <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Pay
4853
Menu
4954
</label>
5055
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
51-
52-
<section class="phpdocumentor-sidebar__category">
53-
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
54-
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h4>
55-
<ul class="phpdocumentor-list">
56-
<li><a href="namespaces/matscode-paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
57-
</ul>
56+
<section class="phpdocumentor-sidebar__category">
57+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
58+
<h4 class="phpdocumentor-sidebar__root-namespace">
59+
<a href="namespaces/matscode.html" class="">Matscode</a>
60+
</h4>
61+
<ul class="phpdocumentor-list">
62+
<li>
63+
<a href="namespaces/matscode-paystack.html" class="">Paystack</a>
64+
65+
</li>
66+
</ul>
67+
5868
</section>
69+
<section class="phpdocumentor-sidebar__category">
70+
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
71+
<h4 class="phpdocumentor-sidebar__root-namespace">
72+
<a href="packages/Application.html" class="">Application</a>
73+
</h4>
5974

60-
<section class="phpdocumentor-sidebar__category">
61-
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
62-
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Default.html"><abbr title="\Default">Default</abbr></a></h3>
63-
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Matscode.html"><abbr title="\Matscode">Matscode</abbr></a></h3>
64-
<ul class="phpdocumentor-list">
65-
<li><a href="packages/Matscode-Paystack.html"><abbr title="\Matscode\Paystack">Paystack</abbr></a></li>
66-
</ul>
67-
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Paystack.html"><abbr title="\Paystack">Paystack</abbr></a></h3>
68-
<ul class="phpdocumentor-list">
69-
<li><a href="packages/Paystack-Resources.html"><abbr title="\Paystack\Resources">Resources</abbr></a></li>
70-
<li><a href="packages/Paystack-Traits.html"><abbr title="\Paystack\Traits">Traits</abbr></a></li>
71-
<li><a href="packages/Paystack-Utility.html"><abbr title="\Paystack\Utility">Utility</abbr></a></li>
72-
</ul>
7375
</section>
74-
76+
7577
<section class="phpdocumentor-sidebar__category">
7678
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
7779
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
@@ -103,7 +105,7 @@ <h2 class="phpdocumentor-content__title">
103105
<div class="phpdocumentor-element__package">
104106
in package
105107
<ul class="phpdocumentor-breadcrumbs">
106-
<li class="phpdocumentor-breadcrumb"><a href="packages/Default.html">Default</a></li>
108+
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
107109
</ul>
108110
</div>
109111

@@ -113,10 +115,12 @@ <h2 class="phpdocumentor-content__title">
113115
<aside class="phpdocumentor-element-found-in">
114116
<abbr class="phpdocumentor-element-found-in__file" title="src/Exceptions/InvalidResourceException.php"><a href="files/src-exceptions-invalidresourceexception.html"><abbr title="src/Exceptions/InvalidResourceException.php">InvalidResourceException.php</abbr></a></abbr>
115117
:
116-
<span class="phpdocumentor-element-found-in__line">7</span>
117-
</aside>
118+
<span class="phpdocumentor-element-found-in__line">5</span>
119+
120+
</aside>
118121

119122

123+
<section class="phpdocumentor-description"></section>
120124

121125

122126

@@ -133,6 +137,68 @@ <h2 class="phpdocumentor-content__title">
133137

134138

135139

140+
141+
<script type="text/javascript">
142+
function loadExternalCodeSnippets(line) {
143+
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
144+
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
145+
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
146+
var language = 'php';
147+
148+
var code = document.createElement('code');
149+
code.className = 'language-' + language;
150+
151+
pre.textContent = '';
152+
153+
pre.setAttribute('data-line', line)
154+
code.textContent = 'Loading…';
155+
156+
pre.appendChild(code);
157+
158+
var xhr = new XMLHttpRequest();
159+
160+
xhr.open('GET', src, true);
161+
162+
xhr.onreadystatechange = function () {
163+
if (xhr.readyState == 4) {
164+
165+
if (xhr.status < 400 && xhr.responseText) {
166+
code.textContent = xhr.responseText;
167+
168+
Prism.highlightElement(code);
169+
}
170+
else if (xhr.status >= 400) {
171+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
172+
}
173+
else {
174+
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
175+
}
176+
}
177+
};
178+
179+
xhr.send(null);
180+
});
181+
}
182+
183+
var modals = document.querySelectorAll("[data-modal]");
184+
185+
modals.forEach(function (trigger) {
186+
trigger.addEventListener("click", function (event) {
187+
//event.preventDefault();
188+
const modal = document.getElementById(trigger.dataset.modal);
189+
modal.classList.add("phpdocumentor-modal__open");
190+
loadExternalCodeSnippets(trigger.dataset.line)
191+
const exits = modal.querySelectorAll("[data-exit-button]");
192+
exits.forEach(function (exit) {
193+
exit.addEventListener("click", function (event) {
194+
event.preventDefault();
195+
modal.classList.remove("phpdocumentor-modal__open");
196+
});
197+
});
198+
});
199+
});
200+
</script>
201+
136202
</article>
137203
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
138204
<section class="phpdocumentor-search-results__dialog">
@@ -154,5 +220,9 @@ <h2 class="phpdocumentor-search-results__title">Search results</h2>
154220
<script>
155221
cssVars({});
156222
</script>
223+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
224+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
225+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
226+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
157227
</body>
158228
</html>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy