Skip to content

Commit 75b12c6

Browse files
committed
fix: styles
1 parent 97f2742 commit 75b12c6

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

app/Config/ContentSecurityPolicy.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*/
1616
class ContentSecurityPolicy extends BaseConfig
1717
{
18-
//-------------------------------------------------------------------------
18+
// -------------------------------------------------------------------------
1919
// Broadbrush CSP management
20-
//-------------------------------------------------------------------------
20+
// -------------------------------------------------------------------------
2121

2222
/**
2323
* Default CSP report context
@@ -43,10 +43,10 @@ class ContentSecurityPolicy extends BaseConfig
4343
*/
4444
public $upgradeInsecureRequests = false;
4545

46-
//-------------------------------------------------------------------------
46+
// -------------------------------------------------------------------------
4747
// Sources allowed
4848
// Note: once you set a policy to 'none', it cannot be further restricted
49-
//-------------------------------------------------------------------------
49+
// -------------------------------------------------------------------------
5050

5151
/**
5252
* Will default to self if not overridden

app/Config/Validation.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
class Validation extends BaseConfig
1212
{
13-
//--------------------------------------------------------------------
13+
// --------------------------------------------------------------------
1414
// Setup
15-
//--------------------------------------------------------------------
15+
// --------------------------------------------------------------------
1616

1717
/**
1818
* Stores the classes that contain the
@@ -38,7 +38,7 @@ class Validation extends BaseConfig
3838
'single' => 'CodeIgniter\Validation\Views\single',
3939
];
4040

41-
//--------------------------------------------------------------------
41+
// --------------------------------------------------------------------
4242
// Rules
43-
//--------------------------------------------------------------------
43+
// --------------------------------------------------------------------
4444
}

app/Database/Migrations/2020-07-12-143952_create_monsters.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public function up(): void
8585
* it harder to work with databases, so we will leave them off for now. Feel free
8686
* to uncomment them if you want to play:
8787
*/
88-
//$this->forge->addForeignKey('ability_id', 'abilities', 'id', false, 'CASCADE');
89-
//$this->forge->addForeignKey('monster_id', 'monsters', 'id', false, 'CASCADE');
88+
// $this->forge->addForeignKey('ability_id', 'abilities', 'id', false, 'CASCADE');
89+
// $this->forge->addForeignKey('monster_id', 'monsters', 'id', false, 'CASCADE');
9090

9191
$this->forge->createTable('abilities_monsters');
9292

app/Entities/Monster.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Monster extends Entity
2626
*
2727
* @return array
2828
*/
29-
//public function getAbilities(): array
30-
//{
31-
//}
29+
// public function getAbilities(): array
30+
// {
31+
// }
3232
}

app/Models/DungeonModel.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class DungeonModel extends Model
6868
*
6969
* @return array
7070
*/
71-
//public function getMonstersForDungeon(int $dungeonId): array
72-
//{
73-
//}
71+
// public function getMonstersForDungeon(int $dungeonId): array
72+
// {
73+
// }
7474
}

app/Views/errors/html/error_exception.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
} else {
6969
echo esc(clean_path($row['file']) . ' : ' . $row['line']);
7070
}
71-
?>
71+
?>
7272
<?php else: ?>
7373
{PHP internal code}
7474
<?php endif; ?>
@@ -83,14 +83,14 @@
8383
<table cellspacing="0">
8484

8585
<?php
86-
$params = null;
87-
// Reflection by name is not available for closure function
88-
if (substr($row['function'], -1) !== '}') {
89-
$mirror = isset($row['class']) ? new \ReflectionMethod($row['class'], $row['function']) : new \ReflectionFunction($row['function']);
90-
$params = $mirror->getParameters();
91-
}
92-
93-
foreach ($row['args'] as $key => $value) : ?>
86+
$params = null;
87+
// Reflection by name is not available for closure function
88+
if (substr($row['function'], -1) !== '}') {
89+
$mirror = isset($row['class']) ? new \ReflectionMethod($row['class'], $row['function']) : new \ReflectionFunction($row['function']);
90+
$params = $mirror->getParameters();
91+
}
92+
93+
foreach ($row['args'] as $key => $value) : ?>
9494
<tr>
9595
<td><code><?= esc(isset($params[$key]) ? '$' . $params[$key]->name : "#{$key}") ?></code></td>
9696
<td><pre><?= esc(print_r($value, true)) ?></pre></td>
@@ -308,8 +308,8 @@
308308
<!-- Response -->
309309
<?php
310310
$response = \Config\Services::response();
311-
$response->setStatusCode(http_response_code());
312-
?>
311+
$response->setStatusCode(http_response_code());
312+
?>
313313
<div class="content" id="response">
314314
<table>
315315
<tr>

0 commit comments

Comments
 (0)