Issues (57)

src/Repositories/Post.php (1 issue)

1
<?php declare(strict_types = 1);
0 ignored issues
show
Expected 1 line before declare statement, found 0.
Loading history...
2
3
namespace App\Repositories;
4
5
use App\Entities\Post as Entity;
6
use WPSteak\Repositories\AbstractPost;
7
8
class Post extends AbstractPost {
9
10 1
	public function find_one_by_post( \WP_Post $post ): ?Entity {
11 1
		return ( new Entity() )->set_post( $post );
12
	}
13
14
}
15