chore: fix some typos in comments

Signed-off-by: goodactive <goodactive@qq.com>
This commit is contained in:
goodactive
2024-04-19 18:00:20 +08:00
parent f405cf2ddf
commit 184e19abbc
3 changed files with 3 additions and 3 deletions

View File

@@ -12924,7 +12924,7 @@ namespace Illuminate\Support\Facades {
$instance->substituteImplicitBindings($route); $instance->substituteImplicitBindings($route);
} }
/** /**
* Register a callback to to run after implicit bindings are substituted. * Register a callback to run after implicit bindings are substituted.
* *
* @param callable $callback * @param callable $callback
* @return \Illuminate\Routing\Router * @return \Illuminate\Routing\Router

View File

@@ -185,7 +185,7 @@ class ItemController extends Controller
{ {
// Get the item // Get the item
$item = Item::find($id); $item = Item::find($id);
if ($item->appid === null && $item->class !== null) { // old apps wont have an app id so set it if ($item->appid === null && $item->class !== null) { // old apps won't have an app id so set it
$app = Application::where('class', $item->class)->first(); $app = Application::where('class', $item->class)->first();
if ($app) { if ($app) {
$item->appid = $app->appid; $item->appid = $app->appid;

View File

@@ -25,7 +25,7 @@ Why not use it as your browser start page? It even has the ability to include a
If you want to see a quick video of Heimdall in use, go to https://youtu.be/GXnnMAxPzMc If you want to see a quick video of Heimdall in use, go to https://youtu.be/GXnnMAxPzMc
## Supported applications ## Supported applications
You can use the app to link to any site or application, but Foundation apps will auto fill in the icon for the app and supply a default color for the tile. In addition, Enhanced apps allow you provide details to an apps API, allowing you to view live stats directly on the dashboad. For example, the NZBGet and Sabnzbd Enhanced apps will display the queue size, and download speed while something is downloading. You can use the app to link to any site or application, but Foundation apps will auto fill in the icon for the app and supply a default color for the tile. In addition, Enhanced apps allow you provide details to an apps API, allowing you to view live stats directly on the dashboard. For example, the NZBGet and Sabnzbd Enhanced apps will display the queue size, and download speed while something is downloading.
Supported applications are recognized by the title of the application as entered in the title field when adding an application. For example, to add a link to pfSense, begin by typing "p" in the title field and then select "pfSense" from the list of supported applications. Supported applications are recognized by the title of the application as entered in the title field when adding an application. For example, to add a link to pfSense, begin by typing "p" in the title field and then select "pfSense" from the list of supported applications.