Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created November 28, 2020 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cursosdesarrolloweb/a82c0382952e3c3a6d028614a7b77394 to your computer and use it in GitHub Desktop.
Save cursosdesarrolloweb/a82c0382952e3c3a6d028614a7b77394 to your computer and use it in GitHub Desktop.
<?php
$carbonFake = null;
if ($carbonFake !== null) {
$now = $carbonFake->now();
if ($now !== null) {
$add = $now->add("days", 2);
if ($add !== null) {
$render = $add->render();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment