Skip to content

Commit 8555ea1

Browse files
committed
fix option docs
1 parent 2074206 commit 8555ea1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/phoenix/sync/predefined_shape.ex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ defmodule Phoenix.Sync.PredefinedShape do
1616
doc: """
1717
A transform function to apply to each row.
1818
19-
This can be either a MFA tuple (`{Module, :my_fun, [arg1, ...]}`) or a `&Mod.fun/1` capture
20-
(depending on use).
19+
This can be either a MFA tuple (`{MyModule, :my_fun, [arg1, ...]}`), a
20+
`&MyModule.fun/1` capture or an `Ecto.Schema` module (depending on use).
2121
22-
See the documentation of `Phoenix.Sync.Router.sync/2` and
23-
`Phoenix.Sync.Controller.sync_render/4` for more details on constraints.
22+
See the documentation of `Phoenix.Sync.shape!/2` for more details.
2423
""",
2524
type_doc: ~s/`(map() -> [map()]) | mfa() | module()`/
2625
]

0 commit comments

Comments
 (0)