Skip to content

Commit

Permalink
Merge pull request #5774 from kenjis/fix-docs-fix-sample-code
Browse files Browse the repository at this point in the history
docs: fix sample code
  • Loading branch information
kenjis authored Mar 4, 2022
2 parents 970fa89 + 3ef6925 commit f969513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion user_guide_src/source/outgoing/localization/005.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Controllers;

class UserController extends \Controller
class UserController extends BaseController
{
public function index()
{
Expand Down
4 changes: 2 additions & 2 deletions user_guide_src/source/testing/database/002.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ class MyTests extends CIUnitTestCase
{
use DatabaseTestTrait;

public function setUp()
public function setUp(): void
{
parent::setUp();

// Do something here....
}

public function tearDown()
public function tearDown(): void
{
parent::tearDown();

Expand Down

0 comments on commit f969513

Please sign in to comment.