Skip to content

Commit da43c5a

Browse files
committed
Updated API for commit 63ab555933485a938091ac95f2f1fb9f5a6fe3a5
1 parent ec71348 commit da43c5a

15 files changed

+249
-204
lines changed

docs/classes/CodeIgniter-Debug-Toolbar-Collectors-Logs.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ <h4 id="toc-properties">
312312
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
313313
<a class="" href="classes/CodeIgniter-Debug-Toolbar-Collectors-Logs.html#property_data">$data</a>
314314
<span>
315-
&nbsp;: array&lt;string|int, mixed&gt; </span>
315+
&nbsp;: array&lt;int, array{level: string, msg: string}&gt; </span>
316316
</dt>
317317
<dd>Our collected data.</dd>
318318

@@ -373,9 +373,9 @@ <h4 id="toc-methods">
373373
<dt class="phpdocumentor-table-of-contents__entry -method -public">
374374
<a class="" href="classes/CodeIgniter-Debug-Toolbar-Collectors-Logs.html#method_display">display()</a>
375375
<span>
376-
&nbsp;: array&lt;string|int, mixed&gt;|string </span>
376+
&nbsp;: array{logs: list<array{level: string, msg: string}>} </span>
377377
</dt>
378-
<dd>Returns the data of this collector to be formatted in the toolbar</dd>
378+
<dd>Returns the data of this collector to be formatted in the toolbar.</dd>
379379

380380
<dt class="phpdocumentor-table-of-contents__entry -method -public">
381381
<a class="" href="classes/CodeIgniter-Debug-Toolbar-Collectors-BaseCollector.html#method_getAsArray">getAsArray()</a>
@@ -466,7 +466,7 @@ <h4 id="toc-methods">
466466
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
467467
<a class="" href="classes/CodeIgniter-Debug-Toolbar-Collectors-Logs.html#method_collectLogs">collectLogs()</a>
468468
<span>
469-
&nbsp;: array&lt;string|int, mixed&gt; </span>
469+
&nbsp;: array&lt;int, array{level: string, msg: string}&gt; </span>
470470
</dt>
471471
<dd>Ensures the data has been collected.</dd>
472472

@@ -517,7 +517,7 @@ <h4 class="phpdocumentor-element__name" id="property_data">
517517

518518
<code class="phpdocumentor-code phpdocumentor-signature ">
519519
<span class="phpdocumentor-signature__visibility">protected</span>
520-
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
520+
<span class="phpdocumentor-signature__type">array&lt;int, array{level: string, msg: string}&gt;</span>
521521
<span class="phpdocumentor-signature__name">$data</span>
522522
</code>
523523

@@ -797,15 +797,15 @@ <h4 class="phpdocumentor-element__name" id="method_display">
797797
<aside class="phpdocumentor-element-found-in">
798798
<abbr class="phpdocumentor-element-found-in__file" title="system/Debug/Toolbar/Collectors/Logs.php"><a href="files/system-debug-toolbar-collectors-logs.html"><abbr title="system/Debug/Toolbar/Collectors/Logs.php">Logs.php</abbr></a></abbr>
799799
:
800-
<span class="phpdocumentor-element-found-in__line">55</span>
800+
<span class="phpdocumentor-element-found-in__line">57</span>
801801

802802
</aside>
803803

804-
<p class="phpdocumentor-summary">Returns the data of this collector to be formatted in the toolbar</p>
804+
<p class="phpdocumentor-summary">Returns the data of this collector to be formatted in the toolbar.</p>
805805

806806
<code class="phpdocumentor-code phpdocumentor-signature ">
807807
<span class="phpdocumentor-signature__visibility">public</span>
808-
<span class="phpdocumentor-signature__name">display</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;|string</span></code>
808+
<span class="phpdocumentor-signature__name">display</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array{logs: list<array{level: string, msg: string}>}</span></code>
809809

810810
<div class="phpdocumentor-label-line">
811811
</div>
@@ -818,7 +818,7 @@ <h4 class="phpdocumentor-element__name" id="method_display">
818818

819819
<section>
820820
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
821-
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;|string</span>
821+
<span class="phpdocumentor-signature__response_type">array{logs: list<array{level: string, msg: string}>}</span>
822822
</section>
823823

824824
</article>
@@ -1211,7 +1211,7 @@ <h4 class="phpdocumentor-element__name" id="method_icon">
12111211
<aside class="phpdocumentor-element-found-in">
12121212
<abbr class="phpdocumentor-element-found-in__file" title="system/Debug/Toolbar/Collectors/Logs.php"><a href="files/system-debug-toolbar-collectors-logs.html"><abbr title="system/Debug/Toolbar/Collectors/Logs.php">Logs.php</abbr></a></abbr>
12131213
:
1214-
<span class="phpdocumentor-element-found-in__line">77</span>
1214+
<span class="phpdocumentor-element-found-in__line">79</span>
12151215

12161216
</aside>
12171217

@@ -1252,7 +1252,7 @@ <h4 class="phpdocumentor-element__name" id="method_isEmpty">
12521252
<aside class="phpdocumentor-element-found-in">
12531253
<abbr class="phpdocumentor-element-found-in__file" title="system/Debug/Toolbar/Collectors/Logs.php"><a href="files/system-debug-toolbar-collectors-logs.html"><abbr title="system/Debug/Toolbar/Collectors/Logs.php">Logs.php</abbr></a></abbr>
12541254
:
1255-
<span class="phpdocumentor-element-found-in__line">65</span>
1255+
<span class="phpdocumentor-element-found-in__line">67</span>
12561256

12571257
</aside>
12581258

@@ -1331,15 +1331,15 @@ <h4 class="phpdocumentor-element__name" id="method_collectLogs">
13311331
<aside class="phpdocumentor-element-found-in">
13321332
<abbr class="phpdocumentor-element-found-in__file" title="system/Debug/Toolbar/Collectors/Logs.php"><a href="files/system-debug-toolbar-collectors-logs.html"><abbr title="system/Debug/Toolbar/Collectors/Logs.php">Logs.php</abbr></a></abbr>
13331333
:
1334-
<span class="phpdocumentor-element-found-in__line">87</span>
1334+
<span class="phpdocumentor-element-found-in__line">89</span>
13351335

13361336
</aside>
13371337

13381338
<p class="phpdocumentor-summary">Ensures the data has been collected.</p>
13391339

13401340
<code class="phpdocumentor-code phpdocumentor-signature ">
13411341
<span class="phpdocumentor-signature__visibility">protected</span>
1342-
<span class="phpdocumentor-signature__name">collectLogs</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
1342+
<span class="phpdocumentor-signature__name">collectLogs</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;int, array{level: string, msg: string}&gt;</span></code>
13431343

13441344
<div class="phpdocumentor-label-line">
13451345
</div>
@@ -1352,7 +1352,7 @@ <h4 class="phpdocumentor-element__name" id="method_collectLogs">
13521352

13531353
<section>
13541354
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
1355-
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
1355+
<span class="phpdocumentor-signature__response_type">array&lt;int, array{level: string, msg: string}&gt;</span>
13561356
</section>
13571357

13581358
</article>

docs/classes/CodeIgniter-Log-Handlers-BaseHandler.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h4 id="toc-properties">
327327
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
328328
<a class="" href="classes/CodeIgniter-Log-Handlers-BaseHandler.html#property_handles">$handles</a>
329329
<span>
330-
&nbsp;: array&lt;string|int, mixed&gt; </span>
330+
&nbsp;: array&lt;int, string&gt; </span>
331331
</dt>
332332
<dd>Handles</dd>
333333

@@ -344,7 +344,6 @@ <h4 id="toc-methods">
344344
<span>
345345
&nbsp;: mixed </span>
346346
</dt>
347-
<dd>Constructor</dd>
348347

349348
<dt class="phpdocumentor-table-of-contents__entry -method -public">
350349
<a class="" href="classes/CodeIgniter-Log-Handlers-BaseHandler.html#method_canHandle">canHandle()</a>
@@ -437,7 +436,7 @@ <h4 class="phpdocumentor-element__name" id="property_handles">
437436

438437
<code class="phpdocumentor-code phpdocumentor-signature ">
439438
<span class="phpdocumentor-signature__visibility">protected</span>
440-
<span class="phpdocumentor-signature__type">array&lt;string|int, mixed&gt;</span>
439+
<span class="phpdocumentor-signature__type">array&lt;int, string&gt;</span>
441440
<span class="phpdocumentor-signature__name">$handles</span>
442441
</code>
443442

@@ -474,11 +473,10 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
474473

475474
</aside>
476475

477-
<p class="phpdocumentor-summary">Constructor</p>
478-
476+
479477
<code class="phpdocumentor-code phpdocumentor-signature ">
480478
<span class="phpdocumentor-signature__visibility">public</span>
481-
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$config</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
479+
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array{handles?: list<string>}&nbsp;</span><span class="phpdocumentor-signature__argument__name">$config</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
482480

483481
<div class="phpdocumentor-label-line">
484482
</div>
@@ -488,7 +486,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
488486
<dl class="phpdocumentor-argument-list">
489487
<dt class="phpdocumentor-argument-list__entry">
490488
<span class="phpdocumentor-signature__argument__name">$config</span>
491-
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
489+
: <span class="phpdocumentor-signature__argument__return-type">array{handles?: list<string>}</span>
492490
</dt>
493491
<dd class="phpdocumentor-argument-list__definition">
494492

0 commit comments

Comments
 (0)