Browse Source

hide deprecated warnings for php 7.4

main
Aaron Parecki 2 years ago
parent
commit
eaceaa71db
Failed to extract signature
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/helpers.php

+ 1
- 0
lib/helpers.php View File

@ -1,4 +1,5 @@
<?php
error_reporting(E_ALL ^ E_DEPRECATED);
function json_response(&$app, $response, $code=200) {
$app->response()->status($code);

Loading…
Cancel
Save